コミュニティアイコン プチコン 非公式コミュニティ プレイ日記

アバター
はる ◆75Vh4SY8TdKS
2018/4/8 16:19
プログラムどうなるかクイズが流行っているというほどでもないが、
面白そうだったので便乗。
プログラムはコメントで。

エラーになるかならないかをコメントで予想して下さい。

コメント

アバター
はる 2018/4/8 16:40 ◆75Vh4SY8TdKS
↑はヒントです。
結構大ヒントです。
アバター
はる 2018/4/8 16:46 ◆75Vh4SY8TdKS
まだ続けます。
投稿してから30分程度なのに2人もコメントがあって嬉しいです。
アバター
はる 2018/4/8 22:35 ◆75Vh4SY8TdKS
色々な意見が出てきて面白いです。
アバター
うょリウム(元 SPDX) 2018/4/9 8:12 ◆hJ0Srd29fS.I
WIDTH OUT INCのところが 式の中ではOUTできないからアウト…かな?
アバター
はる 2018/4/9 12:24 ◆75Vh4SY8TdKS
その考え方は予想していませんでした。
WIDTHなどを変数とみるか命令とみるかで変わってきそうです。
アバター
うょリウム(元 SPDX) 2018/4/10 7:37 ◆hJ0Srd29fS.I
?ABS(WAIT-RAD(HARDWARE)*WIDTH)ならセーフかな?
そもそも計算式を代入でもPRINTでもなく直接書き込むのがアウトですが…。
あれ?そういう意味じゃなかったかな?
アバター
はる 2018/4/10 12:14 ◆75Vh4SY8TdKS
?ABS(WAIT-RAD(HARDWARE)*WIDTH)
はエラーです。

>あれ?そういう意味じゃなかったかな?
そういう意味であっています。
アバター
はる 2018/4/11 20:25 ◆75Vh4SY8TdKS
エラーになりません。
INCではなくlNCなのに注意です。

こういちさんのみ正解です。
アバター
こういち 2018/4/11 20:36 ◆ou0jbJnEJ0Kb
(運良く正解したもののIがlだったことに気付かなかったなんて言えない。今見比べてみると若干幅が違う気がする。)
アバター
うょリウム(元 SPDX) 2018/4/11 20:48 ◆hJ0Srd29fS.I
Al(アルミニウム)の元素記号は?
A君『エーアイ!』
B君「え?人工知能?」
教官「エーエルだろがぁぁぁ!!」
ってやつですね?
アバター
うょリウム(元 SPDX) 2018/4/11 20:55 ◆hJ0Srd29fS.I
と、いうか
「ABS A OUT B」 と書くと、
「B=ABS(A)」と同じ効果だったんですね。
え?まさかそれは全員知ってた的な?
そしてこの書式に
有用な使い道はありますか?
アバター
はる 2018/4/11 20:58 ◆75Vh4SY8TdKS
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII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IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
アバター
はる 2018/4/11 20:58 ◆75Vh4SY8TdKS
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
アバター
はる 2018/4/11 20:59 ◆75Vh4SY8TdKS
こういちさんが幅が違うとおっしゃていたので、
テストしてみました。
どちらも2000文字です。

本当に幅が違いますね。
アバター
はる 2018/4/11 21:31 ◆75Vh4SY8TdKS
プチコンではこうなります。

本文は3号,BIGともに256文字、
キャプションは3号は72文字、BIGは107文字です。

コメントを書く

この投稿にはコメントできません。

- WEB PATIO -