Mailing Lists: Apple Mailing Lists

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

Re: Maths Expression Error (Or Feature)



Thanks to both Chris Wood and Adrian Ward for pointing out that the Mathematical Expression patch can be forced to play nicely with the judicious application of lots of extra brackets, like so:

((IntegratorResult < Min) && (Value < 0)) ? 0 : (((IntegratorResult > Max) && (Value > 0)) ? 0 : Value)


Make it a lot more difficult to read, but seems to do the trick!

Cheers guys,

a|x
_______________________________________________
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>)
 >Re: Maths Expression Error (Or Feature) (From: Chris Wood <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.