Block.st
changeset 24888 654beb89f150
parent 24763 d0de7582733b
child 24920 308a8190a536
equal deleted inserted replaced
24887:3002901e43ad 24888:654beb89f150
   493 
   493 
   494 cull: optionalFirstArg
   494 cull: optionalFirstArg
   495     "activate the receiver with one or zero arguments.
   495     "activate the receiver with one or zero arguments.
   496      Squeak compatibility, but also present in VW Smalltalk"
   496      Squeak compatibility, but also present in VW Smalltalk"
   497 
   497 
   498     nargs >= 1 ifTrue:[^ self value:optionalFirstArg].
   498     nargs > 0 ifTrue:[^ self value:optionalFirstArg].
   499     ^ self value
   499     ^ self value
   500 !
   500 !
   501 
   501 
   502 cull: optionalFirstArg cull: optionalSecondArg
   502 cull: optionalFirstArg cull: optionalSecondArg
   503     "activate the receiver with two or less arguments.
   503     "activate the receiver with two or less arguments.