Question: interrogating a method's arguments
Sean Charles
bibbers at onetel.net.uk
Mon May 19 09:23:54 UTC 2003
Try...
aFoo bar: aBar negated baz: aBaz negated baq: aBaq negated.
> Foo>>#bar: aBar baz: aBaz baq: aBaq
> "Negate all my arguments before continuing..."
> thisContext arguments do: [ :arg | arg := arg negated ].
>
>
>
> There is (suprisingly) no #arguments method for thisContext.
>
If there had been a need for one I am sure we'd have it by now?! Anybody..
.???
Sean Charles
More information about the Squeak-dev
mailing list
|