Works great; that's just the thing I was looking for!

Thank you.

Tim Selander
Tokyo, Japan

Jacques Hausser wrote:
Hi Tim

it depends of the kind of loop you are using. Several possibilities For example 
in a card script:

local stoploop

command runTheLoop
   repeat forever
      if stoploop = "S" then exit repeat
      -- do what you want
      wait 10 milliseconds with message
   end repeat
end runTheLoop

on keyDown thekey
    put thekey into stoploop
end keydown

The "wait x milliseconds with message" is the important trick here.

Jacques

Le 15 déc. 2009 à 15:37, Tim Selander a écrit :



_______________________________________________
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