8 Level Stack?

Post here to share useful tips and tricks, to ask questions about using your DM42 or to report software-related problems
grsbanks
Posts: 709
Joined: Tue Apr 25, 2017 9:23 am
Location: Preston, Lancs, UK

Re: 8 Level Stack?

Post by grsbanks » Wed Oct 24, 2018 6:45 am

Walter wrote:
Wed Oct 24, 2018 5:12 am
….plus optional 16 local flags per program so far.
Local flags per program? Now, that's a brilliant idea! Various programs that leave global flags in whatever state without cleaning up after themselves are a bit of a pain, and this would solve that problem very elegantly. I like it.
Not SwissMicros staff, just an enthusiast.

dlachieze
Posts: 140
Joined: Thu May 04, 2017 10:20 am
Location: France

Re: 8 Level Stack?

Post by dlachieze » Wed Oct 24, 2018 7:11 am

This is already available on the WP 34S: each program/subroutine can allocate from 1 to 144 local registers and doing so get access to 16 local flags named .00 to .15
DM42 SN: 00425

toml_12953
Posts: 447
Joined: Wed May 03, 2017 5:46 pm
Location: Malone, NY USA

Re: 8 Level Stack?

Post by toml_12953 » Thu Oct 25, 2018 9:00 am

grsbanks wrote:
Wed Oct 24, 2018 6:45 am
Walter wrote:
Wed Oct 24, 2018 5:12 am
….plus optional 16 local flags per program so far.
Local flags per program? Now, that's a brilliant idea! Various programs that leave global flags in whatever state without cleaning up after themselves are a bit of a pain, and this would solve that problem very elegantly. I like it.
Ditto! It's a waste of resources (even if it doesn't take much) to have every program have to reset the flags.
Tom L

Ducator meus nihil agit sine lagunculae leynidae accedunt

DM42 SN: 00025 (Beta)
SN: 00221 (Shipping)

Post Reply