%%%---------------------------------------------------------------------
|
|
%%% fun定义
|
|
%%%---------------------------------------------------------------------
|
|
|
|
%% IF宏
|
|
-define(IF(Expression,Value1,Value2),
|
|
case Expression of
|
|
true ->Value1;
|
|
false ->Value2
|
|
end ).
|
|
|