[Newbies] Undeclared variable issue
Edward A. Waugh
edward_waugh at hotmail.com
Tue Sep 5 18:17:00 UTC 2006
The following code doesn't execute in my Squeak workspace
| n |
n <- 5 factorial.
n printString
because it insists that n is undeclared despite that I have declare the it in the first line of the 3 line code fragment. (I highlight all 3 lines and use the "do it" to execute it.)
What is going here - this is valid Smalltalk syntax?
Thanks,
Edward
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20060905/29583dd7/attachment.htm
More information about the Beginners
mailing list