home *** CD-ROM | disk | FTP | other *** search
- From: akcs.levenson@hpcvbbs.cv.hp.com (william j. levenson)
- Date: Thu, 13 Aug 1992 17:40:03 GMT
- Subject: Re: New Scrn v1.1
- Message-ID: <2a8a9a4f.1570.2comp.sys.hp48.1@hpcvbbs.cv.hp.com>
- Path: sparky!uunet!cis.ohio-state.edu!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!hp-cv!hp-pcd!hpcvra!rnews!hpcvbbs!akcs.levenson
- Newsgroups: comp.sys.hp48
- References: <01GNHSTHWEIO0009BV@cmu.unige.ch> <MHEISKAN.92Aug12153053@vipunen.h
- Lines: 42
-
- Regarding the problems your having with the ParOuterLoop:
-
- It sounds to like maybe the stack is getting altered within the
- ParOuterLoop. I have seen similar symtoms when I tried to pass
- arguements from the AppKeys to the AppDisplay routines using the stack.
- It seems that the ParOuterLoop messes with the stack somehow and screwed
- up the values I was passing.
-
- RPLMAN.DOC describes the AppKeys stack diagram something like this:
-
- #keycode #keyplane --> keydef TRUE
- #keycode #keyplane --> FALSE
-
- I made the mistake of passing more than just FALSE to the stack. The
- arguements for the next command (in AppDisplay) was screwed up and
- unpredictable results such as you described occured.
-
- This is just what happened to me and may be totally unrelated to your
- plight.
-
- One more thing...I tried to run a sys RPL program I wrote all the ways
- you described with no problems. I too have a ParOuterLoop surrounded by
- a temporary environment with named LAM's. I noticed, however, that I
- neglected to add the ABND at the end. If anyone should have problems, it
- seems it should be me. I also noticed that the SCROLL example in
- RPLMAN.DOC doesn't ABND it's environment either. Does this mean that it
- isn't necessary when ending the program? I understand is good practice
- to abnd these environments when they are not needed *inside* a program,
- but the question is... What happens to these environments after the after
- the program ends and an ABND is not executed. Are the temporary
- variables still taking up memory somewhere?
-
- By the way Klaus...you seem to be missing an ABND in the listing you
- posted here.
-
- To summarize...I don't think the problem you are experiencing has
- anything to do with the ABND but I've been wrong before...I think. Let
- us know what you find out.
-
- Hope this helps!
-
- Bill Levenson
-
-