If I write:
IF expr1 OR expr2 THEN
If expr1 evaluates to TRUE does the OR return TRUE or does it still go
on to evaluate expr2?
Operators always evaluate all their operands.
But you can use the syntax IF expr1 OR IF expr2 THEN to evaluate expr2 only
if expr1 is false.
Regards,
--
Benoît
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user