[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 1.5.0.9 (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
- [Help-smalltalk] Re: [RFC] Smalltalk scripting syntax, (continued)
- Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, Mike Anderson, 2007/03/12
- Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, Paolo Bonzini, 2007/03/13
- Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, David Given, 2007/03/13
- Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, Paolo Bonzini, 2007/03/14
- Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, David Given, 2007/03/14
- Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, Paolo Bonzini, 2007/03/14
Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, Paul D. Fernhout, 2007/03/09
- Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax,
Paul D. Fernhout <=
Re: [Help-smalltalk] [RFC] Smalltalk scripting syntax, Mike Anderson, 2007/03/10