commandline session
$erl
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [async-threads:0] [kernel-poll:false]
Eshell V5.9.1 (abort with ^G)
1> q().
ok
2> $
$erl
Erlang R15B01 (erts-5.9.1) [source] [64-bit] [async-threads:0] [kernel-poll:false]
Eshell V5.9.1 (abort with ^G)
1> h().
ok
2> h()
2> .
1: h()
-> ok
ok
3> pwd().
/home/jeffrin/Downloads
ok
4> cd("..").
/home/jeffrin
ok
5> 1+2.
3
6> 3*2.
6
7> 3-3.
0
8> 6-2
8> .
4
9> 2*v(6).
12
10> math:pi().
3.1415921003589793
11> math:sin(10).
-0.5440211108893698
12> 21
12> 12e23
12> 2*v(12).
* 2: syntax error before: 12
12> k=1.
** exception error: no match of right hand side value 1
13> k=1
13> k
13> .
* 2: syntax error before: k
13> k.
k
14> K=1.
1
15> K.
1
16> K=K+1.
** exception error: no match of right hand side value 2
17> K=K.
1
18> P=2.
2
19> K+P.
3
20> b().
K = 1
P = 2
ok
21> f().
ok
22> b().
ok
23>