Re: Coming From QBasic

new topic     » goto parent     » topic index » view thread      » older message » newer message

Correct me if I'm wrong, but wouldn't wait_key wait for a keypress?  I use=

Inkey$ because it doesn't wait.  If there was no keypress since it's last=

pass, it returns a null string. {Giggles} And how is a null string
represented numerically? -1? {Laughs} Even if a=string:a=chr$(0), then =
a>"",=20
or a is more than a Nul String! {Grins}

Love & Friendship & Blessed Be!
Lynn Erika Kilroy


>From: Pete Lomax <petelomax at blueyonder.co.uk>
>Reply-To: EUforum at topica.com
>To: EUforum at topica.com
>Subject: Re: Coming From QBasic
>Date: Sun, 15 Jan 2006 13:25:12 +0000
>
>
><snip>
> >integer a
> >a=wait_key()
>or get_key, getc, gets.
><snip>
> >    a=wait_key
>missing (). Also not sure why this is wrapped in a loop.
> >a=wait_key--just to stop so you can read 'goodby'
>again, missing ()
>
>Regards,
>Pete
>
>
>
>


Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu