×
[PR]上記の広告は3ヶ月以上新規記事投稿のないブログに表示されています。新しい記事を書く事で広告が消えます。
Erlang シェルは電卓としても使えるっぽい。
Erlang (BEAM) emulator version 5.6 [async-threads:0] Eshell V5.6 (abort with ^G) 1> 1+1. 2 |
2> 1/0. ** exception error: bad argument in an arithmetic expression in operator '/'/2 called as 1 / 0 3> A=3. 3 4> B=4. 4 5> C=A*B. 12 |
6> aa=4. ** exception error: no match of right hand side value 4 7> Aa=4. 4 |
11> D=3. 3 12> D=5. ** exception error: no match of right hand side value 5 |
"変数"じゃなくて"定数"じゃん。
PR
Comment
最新記事
ブログ内検索