Next:
BlockClosure-control structures
, Previous:
BlockClosure-accessing
, Up:
BlockClosure
1.11.4 BlockClosure: built ins
cull: arg1
Evaluate the receiver, passing arg1 as the only parameter if the receiver has parameters.
cull: arg1 cull: arg2
Evaluate the receiver, passing arg1 and arg2 as parameters if the receiver accepts them.
cull: arg1 cull: arg2 cull: arg3
Evaluate the receiver, passing arg1, arg2 and arg3 as parameters if the receiver accepts them.
value
Evaluate the receiver passing no parameters
value: arg1
Evaluate the receiver passing arg1 as the only parameter
value: arg1 value: arg2
Evaluate the receiver passing arg1 and arg2 as the parameters
value: arg1 value: arg2 value: arg3
Evaluate the receiver passing arg1, arg2 and arg3 as the parameters
valueWithArguments: argumentsArray
Evaluate the receiver passing argArray's elements as the parameters