| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi alx, Try using parenthesis to remove the ambiguity from your _expression_: ((IntegratorResult < Min) && (Value < 0)) ? 0 : (((IntegratorResult > Max) && (Value > 0)) ? 0 : Value) In particular, I think where you nest a ternary _expression_, you need to enclose it in parenthesis. I use this technique all the time and I agree, it beats breaking out another JS patch. Best, A. On 7 Jul 2009, at 10:52, Alex Drinkwater wrote:
|
_______________________________________________ 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
| References: | |
| >Maths Expression Error (Or Feature) (From: Alex Drinkwater <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.