[GRASS-dev] gui/tcltk/gis.m/*.tcl: wrong `variable' syntax

Glynn Clements glynn at gclements.plus.com
Mon Mar 31 14:58:59 EDT 2008

Michael Barton wrote:

> >> Everything following the # is a comment to document the variable
> >
> > No it isn't. It may have been *intended* as a comment, but the #
> > character is only treated as starting a comment when it occurs at the
> > beginning of a command, e.g. at the beginning of a line, or following
> > a semicolon.
> I got this syntax from prior TclTk code. This is what happens when  
> you learn a language in that way. So we just need to move all these  
> to their own line

Or put a semicolon before the #.

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list