Function MemvarBlock() Foundation
Creates a set/get code block for PRIVATE or PUBLIC variables.
MemvarBlock( <cMemVarName> ) --> cMemVarBlock
The return value of MemvarBlock() is a code block which will access a dynamic memory variable when it is executed. The code block cannot access variables declared LOCAL or STATIC. If a variable with the name <cMemVarName> does not exist when MemvarBlock() is called, NIL is returned.
The code block function MemvarBlock() creates a code block to access PRIVATE or PUBLIC variables. The variable name must be known at runtime when the call to MemvarBlock() occurs. When the code block is evaluated, it returns the value of the memory variable. If a value is passed to the code block, the value is assigned to the variable.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.