Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!hp-pcd!hpcvra.cv.hp.com!rnews!hpcvbbs!akcs.scotty From: akcs.scotty@hpcvbbs.UUCP (SCOTTY THOMPSON) Newsgroups: comp.sys.handhelds Subject: Re: Using CLEAR in a program Message-ID: <27aaf67d:1840.2comp.sys.handhelds;1@hpcvbbs.UUCP> Date: 2 Feb 91 17:40:57 GMT References: <3302@gmuvax2.gmu.edu> <27aa4087:1840.1comp.sys.handhelds;1@hpcvbbs Lines: 8 Options? Okay. The only time I used CLEAR in a program is to collect garbage in the display before leaving (I used the PROMPT command, disabled the user keyboard, etc., so the user had only one option to leave, the EXIT key...). Afterwards, I restored the stack previously saved. The moral? Save the stack first, if you have garbage before you leave a program (which you shouldn't, unless you use like PROMPT or somthing), then I don't see any reason not to use CLEAR before restoring the stack...Scotty.