On 3/26/2012 5:29 PM, Ron Parker wrote:
I don't believe VBScript short-circuits logical operators. I'm not
sure whether JScript does either [snip]
It does. For example, using Immed:
function b() {
print("b");
}
a = 0;
if (a && b()) {
print("a");
}
If you execute that, you'll get no output because a is false, meaning
b() never gets called.
Aaron
--
Aaron Smith
Web Development * App Development * Product Support Specialist
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com
To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.