Contents | Index | < Browse | Browse >


   SETSTACK  StackSize

You may need this command when using RUN or CLI commands.

Gui4Cli provides each program you run with 4000 bytes of stack.
Some programs need more than that though. This command is how you 
do it.

example :

SetStack  10000
RUN       "ABigProgram"
SetStack  4000

Note that we change the stack size before we call the RUN or CLI command,
and we change it back to the default size after RUNning, so that the
next RUN/CLI does not inherit the big stack size.