Erlang关系运算符

% 关系运算符
-module(helloworld). 
-export([start/0]). 

start() -> 
   io:fwrite(~w~n,[3==2]), 
   io:fwrite(~w~n,[3/=2]), 
   io:fwrite(~w~n,[3<2]), 
   io:fwrite(~w~n,[3=<2]), 
   io:fwrite(~w~n,[3>2]), 
   io:fwrite(~w~n,[3>=2]).

相关文章

-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([start/0]). start() ->...
-module(helloworld). -export([add/2,start/0]). add(X,...
% Erlang整数 -module(helloworld). -export([start/0]). ...