Right,
I know how I use and depend on it working in other languages, and am glad to see that it works as I would expect.

Sam D
On Feb 17, 2007, at 9:04 AM, William Squires wrote:

I believe it's called, 'short-circuit evaluation', and applies to binary operators like AND and OR. i.e. If you have two expressions that evaluate to the Boolean data type, and you're using them like

If <expr1> AND <expr2> Then

the computer will check <expr1> first and - if false - won't bother to check <expr2>. This is handy if <expr2> involves an object reference, then <expr1> can test for the reference <> nil, thus saving you from a NilObjectException in <expr2>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to