I have the following code:

   repeat with i = 1 to the number of btns
      if the my_property of btn i is not property_one then next repeat
        ...
      end if
    end repeat

Question is, is there a better way of writing this so that the handler only
looks at buttons whose my_property is property_one?

The main reason I want this is to reduce the time taken when stepping
through the script for debugging. At the moment it goes through the loop
once for every button.
-- 

Kaveh Bazargan
http://www.river-valley.com/
http://www.holographer.org/
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to