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: 975
Joined: Tue Apr 25, 2017 11:23 am
Location: Preston, Lancs, UK
Contact:

Re: 8 Level Stack?

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

Walter wrote:
Wed Oct 24, 2018 7: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.
There are only 10 kinds of people in the world: those who understand binary and those who do not.

dlachieze
Posts: 221
Joined: Thu May 04, 2017 12:20 pm
Location: France

Re: 8 Level Stack?

Post by dlachieze » Wed Oct 24, 2018 9: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: 00425 - DM41X: β00066

toml_12953
Posts: 655
Joined: Wed May 03, 2017 7:46 pm
Location: Malone, NY USA

Re: 8 Level Stack?

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

grsbanks wrote:
Wed Oct 24, 2018 8:45 am
Walter wrote:
Wed Oct 24, 2018 7: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

If I buy someone a drink to congratulate them, is it a Mazel Tov cocktail?

DM10L SN: 059/100
DM41X SN: 00023 (Beta)
DM42 SN: 00025 (Beta)
DM42 SN: 00221 (Shipping)

Post Reply