--- a/VarArgBlock.st Thu Jun 16 11:54:07 2005 +0200
+++ b/VarArgBlock.st Thu Jun 16 16:49:37 2005 +0200
@@ -46,7 +46,7 @@
with 1 argument. When executed, the actual argument list is
passed in that single argument (as a collection).
- Create a variableArgument block by sending #varArgs to a regular
+ Create a variableArgument block by sending #asVarArgBlock to a regular
block.
This is a goody add-on, which may not be available/possible in other
@@ -60,7 +60,6 @@
[see also:]
Block
"
-
!
examples
@@ -69,7 +68,7 @@
[exBegin]
|b|
- b := [:args | Transcript show:'wow: '; showCR:args] beVarArg.
+ b := [:args | Transcript show:'wow: '; showCR:args] asVarArgBlock.
b value:'hi' value:'there'.
b value:'hello' value:'there' value:'how' value:'about' value:'this'.
@@ -83,7 +82,7 @@
b := [:args | Transcript showCR:args].
Transcript showCR:(b isVarArgBlock).
- b := [:args | Transcript showCR:args] beVarArg.
+ b := [:args | Transcript showCR:args] asVarArgBlock.
Transcript showCR:(b isVarArgBlock)
[exEnd]
"
@@ -241,7 +240,7 @@
!VarArgBlock class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic/VarArgBlock.st,v 1.5 2003-08-29 19:21:32 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic/VarArgBlock.st,v 1.6 2005-06-16 14:49:37 stefan Exp $'
! !
VarArgBlock initialize!