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
[EMAIL PROTECTED]
=====
- Re: if then else otherwise ... raptor
- Re: if then else otherwise ... Michael G Schwern
- RE: if then else otherwise ... Sterin, Ilya
- Re: if then else otherwise ... raptor
- Re: if then else otherwise ... David Grove
- RE: if then else otherwise ... Sterin, Ilya
- Re: if then else otherwise ... raptor
- Re: if then else otherwise ... David Grove
- Re: if then else otherwise ... John Porter
- Re: if then else otherwise ... Bart Lateur
- Re: if then else otherwise ... John Porter
