[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
block (Assignable)
Contains a code block that associates the Get object with a variable.
The code block takes an optional argument that should assign the
value of the argument to the variable. If the argument is omitted,
the code block should return the current value of the variable.
If the GET variable is an array element, Get:block always returns the
base of the array. The subscript(s) in the expression are stored
internally. Thus, in the case of GETs on array elements, you cannot
assign or retrieve the value of the array element by executing
Get:block. Setting and getting may be done on array element GET
variables (and simple variables as well) by use of the varGet() and
varPut() methods, defined below.
Note: Use of the varGet and varPut messages--instead of directly
evaluating the variable block in the GET--is the preferred method of
accessing the GET variable.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson