💾 Archived View for uhc.megaburken.net › help › StackSize captured on 2021-11-30 at 20:18:30.

View Raw

More Information

-=-=-=-=-=-=-

StackSize - Displays the current size of the stack

Usage: StackSize

Will simply type the size of the stack to STDOUT, this is useful in scripts
to store the current stack so it can be restored later.

Example usage in a script:
; Store the current stack in the variable $CURRENT_STACK
Set CURRENT_STACK `StackSize`
; Set the stack to what we need
Stack 65536
; Run a command
Command that needs lots of stack...
; Change the stack back to what it was
Stack $CURRENT_STACK