In this case I'm actually looking to see if a string is being passed
(show it one way) a number (show it a second way) or a boolean is
being passed (show a third way: ✓ or 𐄂 ). Otherwise yes, coercing
would be trivially easy :-). My solution is to have a manual setting
index for display method, rather than auto-detection which is always
preferable from a noodling POV.
Thanks
Alastair
On 06/08/2010, at 4:45 AM, George Toledo wrote:
There was some discourse about the boolean thing on-list where
cwright assured that the representation of the boolean didn't make a
difference, at least in far as it's ultimate effect. It never has
for me.
Can you somehow use a string multiplexer to coerce a string output
from your numeric value? For example, placing "False" in input 0,
and "True" in input 1, and using your current 0/1 to trigger?
-George Toledo
On Thu, Aug 5, 2010 at 2:42 PM, Alastair Leith <[email protected]
> wrote:
I have a need to see if an object has been from a boolean input
splitter but they always seem to get coerced to numbers when passed
to other patches...
Later on I want to test the object and say, if this is a Bool
display result as True (✓) and False (𐄂) not just 0 or 1. Seems
like it can't be don't and I need to workaround it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/gtoledo3%40gmail.com
This email sent to [email protected]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]