Results 1 to 10 of 10
Oct 7, 2011, 09:12 #1
How to set a flag using a closure
Hi guys, I would like to set a flag using a closure so that the internal value of that closure is preserved for me to retrieve it when different events occur. It is one of those times where lack of block scope will stop me from doing what I want to do unless I can set a boolean and preserve its value in a function.
Can someone suggest the best way of doing this?
Silversurfer"Persistence is the path to perfection"