[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.26 NEW

In all forms of NEW, name must be a local variable name or NEW-able structured or intrinsic system variable.

In its inclusive form, NEW saves each specified name on the process stack and removes it, provided the optional postcondition evaluates to true or is omitted. When the current stack frame is exited, the previous values are restored.

Syntax

NEW[:postcondition] name[,...name]

In its exclusive form, NEW saves all local variables except those named (each name) and removes them, provided the optional postcondition evaluates to true or is omitted. When the current stack frame is exited, the previous values are restored.

Syntax

NEW[:postcondition] (name[,...name])

In its argumentless form, NEW saves all local variables and removes them, provided the optional postcondition evaluates to true or is omitted. When the current stack frame is exited, the previous values are restored.

Syntax

NEW:postcondition name=expr

In its initializing form, NEW stacks variable name and sets its value to expr, provided the optional postcondition evaluates to true or is omitted. When the current stack frame is exited, the previous value is restored.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on September 20, 2023 using texi2html 5.0.