angerangel edited this page Jan 7, 2013 · 1 revision

USAGE

   STACK offset /block /word /func /args /size /depth /limit

DESCRIPTION

Returns stack backtrace or other values.

STACK is a native value.

ARGUMENTS

  • offset -- Relative backward offset (integer!)

REFINEMENTS

  • /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)"
] ]
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.