@key

J. Ryan Kelley ryan.kelley at trinitytransport.com
Tue Feb 15 07:48:37 PST 2005


jose,

thanks for the input, i was using waitkey when i should have just been
checking for @sk eq "[CRUP]"

thanks for the help

Ryan

-----Original Message-----
From: Lerebours, Jose [mailto:Jose.Lerebours at EagleGL.com]
Sent: Tuesday, February 15, 2005 10:23 AM
To: J. Ryan Kelley; fplist3
Subject: RE: @key


J. Kelley wrote:
>
>
> I'm trying to do some processing when pressing key up or key
> down.  I'm
> currently using WAITKEY and if the key is CRUP or CDWN
> performing certain
> operations, and if not i'm pushing the key that was pushed
> and ending.  It's
> giving me some wierd behavior though and I was hoping there
> was a way to do
> @key processing with up and down.  Is this at all possible?
>

You cannot use @key[@sk] but you could check for @sk within
your @entsel routine and do whatever you want if @sk matches
one of your trigger values.

Regards;



Jose Lerebours



More information about the Filepro-list mailing list