Re: conflict between UNDO and LOCAL
- From: "John H Meyers" <jhmeyers@xxxxxxxxxxxxxx>
- Date: Mon, 29 Sep 2008 20:11:28 -0500
Aids for creating "persistent local variables"
with pre-assigned explicit values (or all zero):
LOCLV stores supplied value(s) into local variable(s).
LOCLZ stores zero(s) into local variable(s).
CONT abandons the most recent set.
KILL abandons all.
NDUPN (and other HP49/50 series commands) for HP48 series:
http://groups.google.com/group/comp.sys.hp48/msg/7a9c3c756d12b5ef
http://groups.google.com/group/comp.sys.hp48/msg/b966a46c7ad0ad34
@ value 'name'
@ or
@ values { names }
\<< { } + \->STR 2 OVER SIZE 1 - SUB
"\->" SWAP + "\<<HALT" + STR\-> \>> 'LOCLV' STO
@ 'name' or { names }
\<< { } + 0. OVER SIZE NDUPN
1 + ROLL LOCLV \>> 'LOCLZ' STO
@ End
.
- References:
- conflict between UNDO and LOCAL
- From: Wes
- Re: conflict between UNDO and LOCAL
- From: John H Meyers
- conflict between UNDO and LOCAL
- Prev by Date: Re: conflict between UNDO and LOCAL
- Next by Date: Re: hp50g single "CLICK" from the beeper
- Previous by thread: Re: conflict between UNDO and LOCAL
- Next by thread: binomial distribution
- Index(es):