Tuesday, August 3, 2010

basic expression question

0 comments
I have two possible regex values:
1 and 0

These are assigned to a token [tokenvalue]
data type analog
target type digital
token type token
transform abs([tokenvalue]-1)
Min value 0
Max Value 0

Will this correctly transform 1 into a 0 and 0 into a 1?

0-1 = -1
abs(-1) = 1

1-1 = 0
abs(0) = 0

Yes?

--
You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "basic expression question"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com