Erlang/OTP 17 [erts-6.2] [async-threads:10] 原工作目录:"d:/erl6.2/usr" 当前工作目录:"d:/work" Eshell V6.2 (abort with ^G) 1> hello : start(). Hello world ok 2> my_module : pie(). 3.14 3> my_module : print(). ** exception error: undefined function my_module:print/0 4> my_module : print(223444). The value of Term is: 223444. ok 5> my_module : print(22344hello). * 1: syntax error before: hello 5> my_module : print(hello). The value of Term is: hello. ok 6> my_module : print(22344hello). * 1: syntax error before: hello 6> my_module : print(32#hello). The value of Term is: 18306744. ok 7> my_module : print(22344+hello). ** exception error: an error occurred when evaluating an arithmetic expression in operator +/2 called as 22344 + hello 8> my_module : print("22344"+hello). ** exception error: an error occurred when evaluating an arithmetic expression in operator +/2 called as "22344" + hello 9> my_module : print("22344"hello). * 1: syntax error before: hello 9> my_module : print(hello 122421 23412 412). * 1: syntax error before: 122421 9> my_module : print("hello 122421 23412 412"). The value of Term is: [104,101,108,108,111,32,49,50,50,52,50,49,32,50,51,52,49,50,32,32,52,49,50]. ok 10> my_module : print($"hello 122421 23412 412"). 10> my_module : print($hello 122421 23412 412). 10> . 10> my_module : print(32#hello). 10> 10> 10> User switch command --> j 1* {shell,start,[init]} --> 1 Unknown command --> c 1 10> my_module : print(hello). 10> q(). 10> User switch command --> j 1* {shell,start,[init]} --> k 1 --> j --> s --> j 2* {shell,start,[]}