-
Notifications
You must be signed in to change notification settings - Fork 0
Erlang语法
wuchuguang edited this page Apr 11, 2016
·
1 revision
- if条件语句
if
条件匹配1 →
执行语句;
条件匹配2 →
执行语句;
…. →
执行语句;
true →(其它switch default)
执行语句
end
- case of 匹配语句
case 执行语句 of
匹配1 →
执行语句;
匹配1 →
执行语句;
新变量 →(其它switch default)
执行语句
end