Re: Maths Expression Error (Or Feature)
Subject : Re: Maths Expression Error (Or Feature)
From: Alex Drinkwater <email@hidden >
Date: Tue, 7 Jul 2009 11:51:29 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:Content-Transfer-Encoding:From:Subject:Date:To:X-Mailer; b=sQ4gjLfSwNtdV6u8izJEP3OV3oVAytlL/ozIzrVmgZtvGq4CkBeHUY47K3MqV+WaU8YuazUBqxS+potFRhsMH3u30c9lIrEtIg/1LQ4CmHhNPecBqU9wMRDfa/QWnx7fYZ4w7KfDSXrwCeeEQbSyEsDMioake1kqN/cRQGiq170= ;
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
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.