home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.hp48
- Path: sparky!uunet!gatech!concert!seq!turing.u-strasbg.FR!fatri
- From: fatri@turing.u-strasbg.FR (fatri -- licence info. --)
- Subject: Everlasting Lambda Variables
- Message-ID: <9301111547.AA01580@turing.u-strasbg.fr>
- Sender: daemon@seq.uncwil.edu (Admin)
- Organization: UNCW news/mail gateway service
- Date: Mon, 11 Jan 1993 15:47:15 GMT
- Lines: 54
-
-
- While programming in sys-rpl I found something unusual.
-
- Usually when a program ends, all the lambda variables are cleared, they
- no longer exist, enen when the program doesn't do it explicitelly
- ( by the ABND command ).
-
- Here is a little program that allows you to bind something to a lambda
- variable that still exist even after a KILL or a CONT.
-
- It takes two arguments , any object from level two and an global name
- from level 1.
- execute it and then press ON, the program will be aborted but
- a lambda variable ( that contains the object in level two ) named the same
- as the global name you entered will be existing until you execute
- a ABND command.
-
- Unusual isn't it ?
-
- ::
- CK2NOLASTWD
- CK&DISPATCH1
- #6
- ::
- ID>LAM
- #1
- DOBIND
- {
- {
- NULL$
- ::
- $ "Press ON"
- NULL$
- EvalNoCK:
- xINPUT
- ;
- }
- }
- InitMenu
- #1#1
- Key>StdKeyOb
- EVAL
- ;
- ;
-
- begin 644 lambda
- M2%!(4#0X+46=+="H&+*/L0($G2W0K@7Y/T!.!W0J0*<"+"I0 "=+<"B A4
- G "57-C<'\N3T705JCZ%,(BLQL!(#*S%@^$#$.J:Q/XYOL!(#*S$
-
- end
-
-
- Fatri (fatri@turing.u-strasbg.fr)
-
-