Re: Problem with getKey


[Prev][Next][Index][Thread]

Re: Problem with getKey



On Mon, 14 Oct 1996, Jon Niehof wrote:


> 0->a
> While a=0
> getKey->a
> End
> Then do your getKey thing.


A slightly shorter way to wait for the user to press a button (or
buttons) is the following:


Repeat A==#
getKy/->/A
End


where # is the number corresponding to the key of your choice, and of
course, boolean operators can be used too when the user is to press one
of several keys.


__________________________
John Logan
n9342326@henson.cc.wwu.edu


References: