_ | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁
FrontPage › SequentialProgramming

Contents

1 Numbers
2 Atoms
3 Tuples
4 Lists


1 Numbers #

Erlang Integer れ螻 螳 .

  1. 10
  2. -234
  3. 16#AB10F
  4. 2#110111010
  5. $A

1, 2覯 朱 Integer願, 3覯 16讌, 4覯 2讌襯 碁. $A 覓語 'A' 襯 碁.
$ erl
Eshell V5.7.2  (abort with ^G)
1> X = [16#AB10F, 2#110111010, $A].
[700687,442,65]
Floats れ螻 螳 .
  1. 17.368
  2. -56.654
  3. 12.34E-10.
2> F = [17.368, -56.654, 12.34E-10].
[17.368,-56.654,1.234e-9]

2 Atoms #

(Atom) C語 願碓螻 螳 螳企. 螳覲蠍語 一危磯ゼ 覃, 企 貂襴 貊企讌 .
C:\Documents and Settings\dwa2007>erl
Eshell V5.7.2  (abort with ^G)
1> abcef.
abcef
2> start_with_a_lower_case_letter.
start_with_a_lower_case_letter
3> 'Blanks can be quoted'.
'Blanks can be quoted'
4> 'Anything inside quotes \n\012'.
'Anything inside quotes \n\n'
5>

3 Tuples #

觚 Number Atom 覈企.
1> {123, bcd, 'Lee', {1,2,3}, one, two}.
{123,bcd,'Lee',{1,2,3},one,two}
2> {}.
{}
3>

4 Lists #

蠍 蠍郁鍵..
企: : るジ讓曙 襦螻豺 企Ν 譯殊語. 襦螻豺
EditText : Print : Mobile : FindPage : DeletePage : LikePages : Powered by MoniWiki : Last modified 2018-04-13 23:12:53

企 蠍 企. 願 一一 譟危讌 狩 覲旧企. (ろ)