|
run
>>-run(method-+-------------------------------+-)--------------><
| +---------------+ |
| V | |
+-,Individual---+-----------+-+-+
| +-,argument-+ |
+-,Array,argument---------------+
Runs the method object [method] (see ). The [method] has access to the object variables of the receiver object, as if the receiver object had defined the method by using [setMethod]. If you specify the Individual or Array option, any remaining [argument] s are arguments for the method. (You need to specify only the first letter; all characters following the first character are ignored.)
If you specify neither Individual nor Array, the method runs without arguments. The [method] argument can be a string containing a method source line instead of a method object. Alternatively, you can pass an array of strings containing individual method lines. In either case, [run] creates an equivalent method object. [Notes:]
|
||||