Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!uc!norge.unet.umn.edu!fin From: fin@norge.unet.umn.edu (Craig A. Finseth) Newsgroups: comp.sys.handhelds Subject: HP-48SX MENUS and WAIT Message-ID: <2024@uc.msc.umn.edu> Date: 27 Jun 90 14:59:46 GMT References: <1998@uc.msc.umn.edu> <31210033@hpcvia.CV.HP.COM> Sender: news@uc.msc.umn.edu Organization: Univ Netw Serv, Univ of Minn Lines: 28 In article <31210033@hpcvia.CV.HP.COM> scottb@hpcvia.CV.HP.COM (Scott_Burke) writes: It IS possible to display a menu without halting or terminating a program with a HALT or KILL statement. It is done by creating a menu list of 6 objects and then using the TMENU or MENU command. This prepares the list for display. The next step is presumable an input loop, waiting for key presses. This is done with a -1 WAIT statement, which WILL display the menu while it waits for a keypress. Note that 0 WAIT performs the identical function but does NOT display the menu. I found this in the manual and spent hours trying to get it to work. It appears that the displayed menus are not updated until after the program exits back to command level. Could you post your working code? Please?? Note also that the WAIT statement traps ALL key presses except ATTN. if ATTN is pressed, and the LASTARGS flag is clear, 0 or -1 will be ... Good. We were trying to figure out how to do this. Craig A. Finseth fin@unet.umn.edu [CAF13] University Networking Services +1 612 624 3375 desk University of Minnesota +1 612 626 1002 FAX 130 Lind Hall, 207 Church St SE, Minneapolis MN 55455-0134, U.S.A.