Page 2 of 2

Re: 8 Level Stack?

Posted: Wed Oct 24, 2018 8:45 am
by grsbanks
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.

Re: 8 Level Stack?

Posted: Wed Oct 24, 2018 9:11 am
by dlachieze
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

Re: 8 Level Stack?

Posted: Thu Oct 25, 2018 11:00 am
by toml_12953
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.