Page 1 of 1

Flags

Posted: Tue May 05, 2009 3:12 pm
by mfun
Hello,
What is the most efficient means of setting/resetting a flag (i.e. pushbutton pressed, event occurred, etc.) in flowcode?
Thanks,
Mike

Re: Flags

Posted: Fri May 15, 2009 9:38 pm
by Ron
Hi,

I am not sure but check out this post, I think I asked same question some time ago in a slightly different way.

http://www.matrixmultimedia.com/mmforum ... f=5&t=4209

Ron

Re: Flags

Posted: Mon May 18, 2009 9:07 am
by Benj
Hello

If you want to keep it simple then you can simply use a input icon to read a single pin. Then use a decision box and simply put the variable name into the decision icon.
Then if the variable is anything other then 0 your decision will equal yes. This will also act to clear the flag because the input variable is refreshed by the input icon every time around the loop.

Re: Flags

Posted: Sun May 24, 2009 2:59 pm
by mfun
Hi Benj and Ron,

Thanks to both of you gentlemen for the help.

Best Regards,

Mike