|
|
| version 1.46, 2025/05/05 12:51:46 | version 1.51, 2025/05/05 14:26:59 |
|---|---|
| Line 271 Refers to an M intrinsic special variabl | Line 271 Refers to an M intrinsic special variabl |
| Indicates a @emph{list} of the following item, e.g., @emph{L gvn} means @emph{list of global variable names}. | Indicates a @emph{list} of the following item, e.g., @emph{L gvn} means @emph{list of global variable names}. |
| @item @emph{lvn} | @item @emph{lvn} |
| Refers to the name of an M local variable. | Refers to the name of an M local variable. |
| @item @emph{postcondition} | |
| A @emph{tvexpr} immediately following a command verb affecting that command's execution. | |
| @item @emph{strlit} | @item @emph{strlit} |
| Refers to an M string literal. | Refers to an M string literal. |
| @item @emph{ssvn} | @item @emph{ssvn} |
| Refers to the name of an M structured system variable. | Refers to the name of an M structured system variable. |
| @item @emph{tvexpr} | @item @emph{tvexpr} |
| Refers to a truth-valued expression. | Refers to a truth-valued expression, i.e., an expression interpreted as a truth value. |
| @end table | @end table |
| @node A Note on Standards | @node A Note on Standards |
| Line 1711 Returns the Levenshtein distance between | Line 1713 Returns the Levenshtein distance between |
| @cindex intrinsic functions, $ZM | @cindex intrinsic functions, $ZM |
| @cindex intrinsic functions, implementation-specific | @cindex intrinsic functions, implementation-specific |
| Purpose unknown. | |
| @node $ZNAME() | @node $ZNAME() |
| @section $ZNAME | @section $ZNAME |
| @cindex $ZNAME | @cindex $ZNAME |
| Line 2043 Identical to @ref{$TRANSLATE()}, except | Line 2047 Identical to @ref{$TRANSLATE()}, except |
| * WRITE:: Write output to current input/output device. | * WRITE:: Write output to current input/output device. |
| * XECUTE:: Interpret string as M code. | * XECUTE:: Interpret string as M code. |
| * ZASSERT:: Raise error when a conditional expression evaluates @emph{false}. | * ZASSERT:: Raise error when a conditional expression evaluates @emph{false}. |
| * ZBREAK:: Unknown. | * ZBREAK:: Enable/disable ZBREAK mode. |
| * ZCONST:: Define a constant that cannot be altered after initial definition. | * ZCONST:: Define a constant that cannot be altered after initial definition. |
| * ZGO:: Unknown. | * ZGOTO:: @code{GOTO} with @code{BREAK} control. |
| * ZHALT:: Unknown. | * ZHALT:: Exit FreeM job with return value. |
| * ZINSERT:: Insert code into routine buffer. | * ZINSERT:: Insert code into routine buffer. |
| * ZJOB:: Invokes a job, ignoring any timeouts. | * ZJOB:: Invoke job, ignoring any timeouts. |
| * ZLOAD:: Load routine into routine buffer. | * ZLOAD:: Load routine into routine buffer. |
| * ZMAP:: Map a global name to a non-default namespace. | * ZMAP:: Map a global name to a non-default namespace. |
| * ZNEW:: Unknown. | * ZNEW:: Unknown. |
| * ZPRINT:: Print contents of routine buffer. | * ZPRINT:: Print contents of routine buffer. |
| * ZQUIT:: Quits multiple stack levels at once. | * ZQUIT:: Quit multiple stack levels at once. |
| * ZREMOVE:: Remove code from routine buffer. | * ZREMOVE:: Remove code from routine buffer. |
| * ZSAVE:: Save routine buffer to disk. | * ZSAVE:: Save routine buffer to disk. |
| * ZTHROW:: Programmatically raise an error condition. | * ZTHROW:: Programmatically raise an error condition. |
| * ZTRAP:: Unknown. | * ZTRAP:: Raise a FreeM error. |
| * ZUNMAP:: Remove a mapping of a global to a non-default namespace. | * ZUNMAP:: Remove a mapping of a global to a non-default namespace. |
| * ZWATCH:: Enable or disable watchpoints, or set or clear watchpoints on specified globals, locals, or structured system variables. | * ZWATCH:: Enable or disable watchpoints, or set or clear watchpoints on specified globals, locals, or structured system variables. |
| * ZWITH:: Set prefix for future variable references. | * ZWITH:: Set prefix for future variable references. |
| Line 3363 DEFAULT.USER> ZASSERT:DEBUG 1=0 | Line 3367 DEFAULT.USER> ZASSERT:DEBUG 1=0 |
| @cindex commands, non-standard | @cindex commands, non-standard |
| @emph{FreeM Extension} | @emph{FreeM Extension} |
| Sets or clears the @code{ZBREAK} flag@footnote{NOTE: FreeM team needs to investigate how @code{zbreakon} and @code{zbflag} affect program execution.}, based on the result of evaluating @emph{tvexpr}. | |
| @emph{Syntax} | |
| @example | |
| ZBREAK @emph{tvexpr} | |
| @end example | |
| @node ZCONST | @node ZCONST |
| @section ZCONST | @section ZCONST |
| @cindex ZCONST | @cindex ZCONST |
| Line 3380 Constants must only be locals, and globa | Line 3392 Constants must only be locals, and globa |
| @code{ZCONST@emph{:postcondition} @emph{mref1}=@emph{initial-value1},...,@emph{mrefN}=@emph{initial-valueN}} | @code{ZCONST@emph{:postcondition} @emph{mref1}=@emph{initial-value1},...,@emph{mrefN}=@emph{initial-valueN}} |
| @end example | @end example |
| @node ZGO | @node ZGOTO |
| @section ZGO | @section ZGOTO |
| @cindex ZGO | @cindex ZGOTO |
| @cindex commands, ZGO | @cindex commands, ZGOTO |
| @cindex commands, implementation-specific | @cindex commands, implementation-specific |
| @cindex commands, non-standard | @cindex commands, non-standard |
| @emph{FreeM Extension} | @emph{FreeM Extension} |
| In its argumented form, enables @code{BREAK} mode and branches unconditionally to @emph{entryref}. | |
| @emph{Syntax} | |
| @example | |
| ZGOTO @emph{entryref} | |
| @end example | |
| In its argumented form, resumes execution after a @code{BREAK}. | |
| @emph{Syntax} | |
| @example | |
| ZGOTO | |
| @end example | |
| @node ZHALT | @node ZHALT |
| @section ZHALT | @section ZHALT |
| @cindex ZHALT | @cindex ZHALT |
| Line 3396 Constants must only be locals, and globa | Line 3424 Constants must only be locals, and globa |
| @cindex commands, non-standard | @cindex commands, non-standard |
| @emph{FreeM Extension} | @emph{FreeM Extension} |
| In its single-argumented form, @code{ZHALT} command is used to exit the FreeM process with a specific return value @emph{intexpr}. | |
| @emph{Syntax} | |
| @example | |
| ZHALT @emph{intexpr} | |
| @end example | |
| In its argumentless form, @code{ZHALT} is synonymous with @code{HALT}. | |
| @emph{Syntax} | |
| @example | |
| ZHALT | |
| @end example | |
| @node ZINSERT | @node ZINSERT |
| @section ZINSERT | @section ZINSERT |
| @cindex ZINSERT | @cindex ZINSERT |
| Line 3537 Raises an error condition as long as the | Line 3581 Raises an error condition as long as the |
| @cindex commands, non-standard | @cindex commands, non-standard |
| @emph{FreeM Extension} | @emph{FreeM Extension} |
| Synonymous with @ref{ZTHROW}. | |
| @node ZUNMAP | @node ZUNMAP |
| @section ZUNMAP | @section ZUNMAP |
| @cindex ZUNMAP | @cindex ZUNMAP |