What is the meaning of numArgs

nicolas cellier ncellier at ifrance.com
Fri Jul 27 23:48:00 UTC 2007


"i can understand valid selectors:"

"Unary:"
#yourself numArgs = 0.

"Binary:"
#'**' numArgs = 1.

"Keywords"
#at: numArgs = 1.
#at:put: numArgs = 2.


"But does anyone knows what the following cases are meaning?"
#'a:b:c' numArgs = 1.
#'a::bc' numArgs = 1.
#':abc:' numArgs = 0.
#'::abc' numArgs = -1.
#':abc' numArgs = -2.


#':::' numArgs. "make your guess here"


"Nicolas"




More information about the Squeak-dev mailing list