[Newbies] How to comment in Squeak Smalltalk?

K K Subbu kksubbu.ml at gmail.com
Fri Nov 10 07:41:59 UTC 2017


On Friday 10 November 2017 10:57 AM, RedTigerFish wrote:
> In Squeak programming ,   "comment " is very needed in order to make the
> source code easier for humans to understand and maintain.
> 
> However, I find "//"  and /*     */  to be not working.

This is C/C++ syntax. Won't work in Smalltalk. Smalltalk is much more 
compact than C/C++. You may find the following helpful in getting to 
know Smalltalk:

   http://www.jera.com/techinfo/readingSmalltalk.pdf

> What can I do in order to comment in Squeak programming ?

Use double quotes.

HTH .. Subbu


More information about the Beginners mailing list