The new procedure
Description
The new procedure performs the following actions:
- Creates an identified variable from a
pointer variable and stores the value identifying the
identified variable (i.e. the address of the
identified variable) in the pointer variable.
- Initializes a list variable before it is used.
- Creates an instance variable from an
object variable and stores the value referencing the
instance variable (i.e. the address of the
instance variable) in the
object variable.
Parameter
The new procedure's only parameter is a reference to a
pointer variable,
object variable, or
object variable.
Portability
Operating Systems: All
Standard Pascal: Yes
Standard Pascal does not support the list type or the
object type and so does not support using the
new procecedure on variables of those types.