Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java script and boolean outputs




Hi All - I have the following javascript code and can't seem to get it to output a true boolean value no matter what I try, I just know its something dumb but can't see it - any idea's?


----------------------------------

function (__number outputNumber, __boolean change ) main (__number inputNumber, __number threshhold)
{
myresult = new Object();


// if (inputNumber < (0-threshhold) || inputNumber > threshhold) myresult.change = true;
// else myresult.change = true;
myresult.outputNumber = inputNumber;
myresult.change = true;
return myresult;
}


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.