hi,
we have <=> and 'cmp' operators but we don't have the conditional constroct
to use better their result :
May be forthcomming switch will solve this in some way, but isn't it better
to have shortcut like this :
if (cond)
{ }
else {}
otherwise {}
i.e.
if cond == 1 then 'then-block'
if cond == 0 then 'else-block'
if cond == -1 then 'otherwise-block'
If the "if" construct doesn't have "otherwise" it behave like the current
"if-else"..
=====
iVAN
raptor@unacs.bg
=====
Thread Next