home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!math.fu-berlin.de!zrz.tu-berlin.de!cs.tu-berlin.de!fauern!fauna!immd1.informatik.uni-erlangen.de!kskalb
- From: kskalb@immd1.informatik.uni-erlangen.de (Klaus Kalb)
- Subject: ABND and ParOuterLoop (was: New Scrn v1.1)
- References: <01GNHSTHWEIO0009BV@cmu.unige.ch> <MHEISKAN.92Aug12153053@vipunen.h <2a8a9a4f.1570.2comp.sys.hp48.1@hpcvbbs.cv.hp.com>
- Message-ID: <Bsysz4.AIw@immd4.informatik.uni-erlangen.de>
- Sender: news@immd4.informatik.uni-erlangen.de
- Organization: CSD., University of Erlangen
- Date: Fri, 14 Aug 1992 08:30:40 GMT
- Lines: 53
-
- akcs.levenson@hpcvbbs.cv.hp.com (william j. levenson) writes:
-
- >Regarding the problems your having with the ParOuterLoop:
-
- [Comments about the POL and the stack deleted]
-
- >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?
-
- From my experience it seems that all temporary environments are
- destroyed as soon as the running program is terminated.
-
- You need not worry about missing ABNDs unless you're going to call
- the program with the missing ABND from another program that uses
- unnamed LAMs.
-
- >By the way Klaus...you seem to be missing an ABND in the listing you
- >posted here.
-
- Which listing do you refer to ?
- If you refer to the post about my trouble with ABND, the ABND was there.
-
- My trouble is that this ABND sometimes causes a system halt.
- BUT ONLY IF the program is called directly from the command line.
- I have no explanation for this behaviour.
- Without that ABND, everything is fine.
-
- >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.
-
- Thats my impression, too. I suspect that there's some subtle bug
- somewhere deep in that program. But I don't know where to start
- searching.
-
- >Hope this helps!
-
- Thanx, -KK
-
- ---
- ------------------------------------------------------------------------------
- Klaus Kalb | mail : IMMD1 / Martenstr. 3 / W-8520 Erlangen / Germany
- Werch ein Illtum | email: kskalb@immd1.informatik.uni-erlangen.de
- ------------------------------------------------------------------------------
-