if then do something ??

Rob Cozens rcozens at pon.net
Wed Feb 16 10:44:02 EST 2005

Hi Paul,

>How do I make a program do something like so:
>if (space bar) then
>         do this
>if end

on keydown theKey
    if theKey is " " then
       do this
    end if
    pass keyDown
end keyDown

Rob Cozens CCW
Serendipity Software Company

"And I, which was two fooles, do so grow three;
  Who are a little wise, the best fooles bee."

  from "The Triple Foole" by John Donne (1572-1631) 

More information about the Use-livecode mailing list