What to do with stack overflow OBJ->/LIST->?
|
06-21-2016, 08:43 AM
Post: #4
|
|||
|
|||
RE: What to do with stack overflow OBJ->/LIST->?
(06-21-2016 01:57 AM)Claudio L. Wrote: All commands should probably throw a "Stack Overflow" error, which the user can catch with an IFERR statement, and which could be disabled via a flag. Currently, the 128th item silently disappears off the top of the stack. My first thought was, "Well, that's not good." My second thought was, "You know, that's what the 41C did, and it only had 4!" I do recall once writing a 50g program that temporarily put a BUNCH of items on the stack, but that was in a program. Am I correct that on the Prime, OBJ-> would be for interactive use only? If so, 128 is quite large for interactive use. I suspect it would be exceedingly rare for anyone to interactively bump up against the 128 limit. As long as the limit is documented, then I don't see a problem with items dropping off the top of the stack. Any reason why the stack is limited to 128? Would it be easier to increase the limit, say 1024, or put in error trapping code? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
What to do with stack overflow OBJ->/LIST->? - Tim Wessman - 06-20-2016, 09:30 PM
RE: What to do with stack overflow OBJ->/LIST->? - Claudio L. - 06-21-2016, 01:57 AM
RE: What to do with stack overflow OBJ->/LIST->? - Wes Loewer - 06-21-2016 08:43 AM
RE: What to do with stack overflow OBJ->/LIST->? - Tim Wessman - 06-21-2016, 02:16 PM
RE: What to do with stack overflow OBJ->/LIST->? - Claudio L. - 06-21-2016, 05:14 PM
RE: What to do with stack overflow OBJ->/LIST->? - Stevetuc - 06-21-2016, 06:52 AM
RE: What to do with stack overflow OBJ->/LIST->? - toml_12953 - 06-21-2016, 12:20 PM
RE: What to do with stack overflow OBJ->/LIST->? - cyrille de brébisson - 06-22-2016, 05:02 AM
RE: What to do with stack overflow OBJ->/LIST->? - Wes Loewer - 06-22-2016, 07:30 AM
RE: What to do with stack overflow OBJ->/LIST->? - toml_12953 - 06-22-2016, 07:44 PM
|
User(s) browsing this thread: 1 Guest(s)