Sorry, two of those Smalltalk comments between code chunks incorrectly
have single quotes instead of double quotes; sadly, not enough
Smalltalking these days. :-(

As it is written, evaluation would produce a runtime error just before
the first addMethodFromSource: of "String does not understand
#NullChessPiece". And if that comment was corrected, possibly the rest
would work assuming the compiler merges the string starting with '
comment about...' with the subsequent triple quoted string starting with
"""Now, let's ...""" . :-)

Now this brings up another issues, which is that getting an error like
"String does not understand #NullChessPiece" when doing a filein would
be confusing for anybody, especially a novice. But as long as the error
message could be tied back into the location in the file, presumably the
error would be noticed eventually.

--Paul Fernhout



_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to