Xref: utzoo comp.databases:3539 comp.sys.ibm.pc:34332
Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ncar!asuvax!noao!arizona!naucse!wew
From: wew@naucse.UUCP (Bill Wilson)
Newsgroups: comp.databases,comp.sys.ibm.pc
Subject: Re: dBase III+ menu programming question
Message-ID: <1690@naucse.UUCP>
Date: 6 Sep 89 15:31:07 GMT
References: <2151@umiami.miami.edu>
Organization: Northern Arizona University, Flagstaff, AZ
Lines: 18

From article <2151@umiami.miami.edu>, by SLORES@umiami.miami.edu (Stanislaw L. Olejniczak):
> In dBase III+ I would like to present a user with a menu, and then have
> the user press one of the FUNCTION keys to choose a menu item.  I do know
> I cannot reprogram F1, but I can live with that.  If possible, I would
> also like very much to display running day's time on the display while
> waiting for a keypress.
>
You can use a while loop based on the function inkey to wait for a
key to be pressed.  All of the keys are returned as a value from
inkey().  F2 to F10 return -1 to -9.  I believe the values for other 
keys are listed in the manual (p 6-29).

 
-- 
Let sleeping dragons lie........               | The Bit Chaser
----------------------------------------------------------------
Bill Wilson             (Bitnet: ucc2wew@nauvm | wilson@nauvax)
Northern AZ Univ  Flagstaff, AZ 86011