> From: "Syarzhuk Kazachehnka" <
[hidden email]>
> In Delphi, which is my primary language, there is a compiler switch. If
> you say {$B+} that means you want all boolean expressions to evaluate
> completely. If you say {$B-}, that means you want to "short-circuit"
> them: F and X always equals to F, T or X always equals to T whatever X
> is, therefore, in {$B-} state the compiler would not evaluate X at all.
> Could that be implemented in NetRexx?
It's sure doable, but I would prefer the ||| / &&& alternative.
I think both behaviors are complementary. Using new operators
will prevent possible confusion from beginners/sleepy programmers.
And, in fact, NetRexx already uses operators with 3 signs (\== for
one).
Martin
--
[hidden email]
Team OS/2
http://www.mygale.org/~lafaix~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>