50g group photo

Yahoo Groups archive

50g

Archive for 50g.

Index last updated: 2026-03-30 00:59 UTC

Message

Re: What is the stack size?

2009-06-20 by vincentgoudreault

--- In 50g@yahoogroups.com, "rickwendel763242" <rickwendel763242@...> wrote:
>
> I'm slightly confused by this because on my old calculator if I put in for example: 1, enter, 2, enter, 3 enter, and so on more than 5 times it would roll over to the first level of the stack. So, are you saying that their are virtually unlimited levels? This would be good means I like using local variables for the most part and haven't yet seen a need for the newer style called combined local variables which act just like global variables with the exception, that they automatically purge themselves when the program terminates. Please reaffirm this.
>


Up to and including the HP-41's, the stack was 4 layer deep (X, Y, Z and T as those were called). Remember that on those calculators, the stack could onlt contain a numerical value.

The HP48, 49 and 50 indeed have unrestricted stack, limited only to the amount of memory not being already used for other things. Each stack line can contain one object, which can be several different type, of varying size.


CBVG

Attachments