[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax

From: Paul D. Fernhout
Subject: Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax
Date: Fri, 09 Mar 2007 22:03:43 -0500
User-agent: Icedove (X11/20061220)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]