home *** CD-ROM | disk | FTP | other *** search
- From: akcs.levenson@hpcvbbs.cv.hp.com (william j. levenson)
- Date: Wed, 29 Jul 1992 23:40:03 GMT
- Subject: ParOuterLoop Question
- Message-ID: <2a7726ed.1500comp.sys.hp48@hpcvbbs.cv.hp.com>
- Path: sparky!uunet!usc!sdd.hp.com!hp-cv!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.levenson
- Newsgroups: comp.sys.hp48
- Keywords: system rpl
- Lines: 31
-
- Hello all!
-
- I have some questions regarding the Parameterized Outer Loop utility in
- System RPL. I have checked the RPLMAN.DOC and was unable to find what I
- needed. Maybe some of you have figured this stuff out. Here goes:
-
- 1) In RPLMAN.DOC, the example programs use a "TakeOver" command in the
- "AppKeys" arguement when defining the keys, for example,
-
- kcUpArrow ?CaseKeyDef
- :: TakeOver SCROLLUP ;
-
- My question is what does "TakeOver" do? I decompiled it and all it is
- is ":: ;" (no quotes). In other words, it is a null RPL program.
- Why is this necessary?
-
- 2) I use the stack to pass arguements from the "AppKeys" to "AppDisplay"
- for updating of the screen. I have NonAppKeyOK? set to false. When a
- non-application key is pressed, "AppKeys" puts some arguments on the
- stack and pushes FALSE. The ParOuterLoop messes with my stack! What is
- it doing. RPLMAN.DOC says that it issues an error beep and does nothing.
- I have worked around this by never returning false from "AppKeys".
- Instead, I emulate the action of "?CaseKeyDef" by pushing a default prog
- to the stack and pushing TRUE for all keys not defined previously. Is
- there a better way?
-
- Any information is greatly appreciated.
-
- Sincerely,
-
- Bill Levenson
-
-