problem in porting from smalltalk

nelson - nelson1977 at gmail.com
Sun Feb 19 11:20:58 UTC 2006


hi,
  i'm porting some code from smalltalk and i receive a runtime error of this
type

argument of or: must be a block or variable


(or: is the method i'm implementing)

I pass to it a variable i suppose ( the number 0.2)

this is the code:

a _ FuzzyMagnitude new degree:0.7.
b _ FuzzyMagnitude new degree:0.20.
a and: b.
a and:  <- argument of and: must be a block or variable ->0.2.

(FuzzyMagnitude is an object that i have defined)
 advice,
  nelson
thanks for any
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060219/1e70bccb/attachment.htm


More information about the Squeak-dev mailing list