forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Stack
angerangel edited this page Mar 19, 2013
·
1 revision
STACK offset /block /word /func /args /size /depth /limit
Returns stack backtrace or other values.
STACK is a native value.
- offset -- Relative backward offset (integer!)
- /block -- Block evaluation position
- /word -- Function or object name, if known
- /func -- Function value
- /args -- Block of args (may be modified)
- /size -- Current stack size (in value units)
- /depth -- Stack depth (frames)
- /limit -- Stack bounds (auto expanding)
#SOURCE
stack: make native! [ [
"Returns stack backtrace or other values."
offset [integer!] "Relative backward offset"
/block "Block evaluation position"
/word "Function or object name, if known"
/func "Function value"
/args "Block of args (may be modified)"
/size "Current stack size (in value units)"
/depth "Stack depth (frames)"
/limit "Stack bounds (auto expanding)"
] ]