BobDevries
 Senior Member
 Joined: 08/06/2011 Location: AustraliaPosts: 266 |
| Posted: 08:33am 28 Jun 2011 |
|
|
|
You know, I've often wondered why BASIC didn't have any user accessible stack.
Commands like:
PUSH(var1, var2,...)
POP(var1, var2,...)
could be invaluable.
The BASIC interpreter which came with the Microbee computer (Microworld basic) had the ability to add variables to the GOSUB command:
GOSUB (var1, var2,...) line_number
then the command VAR was used to retrieve the variables:
VAR (var1, var2,...)
Possibly a stack could be implemented in BASIC; hmm, thinking cap on....
Thoughts?
Regards,
Bob Devries Dalby, QLD, Australia |