[GRASS-dev] Re: how to check for system in TclTk

Glynn Clements glynn at gclements.plus.com
Mon May 7 10:18:01 EDT 2007

Paul Kelly wrote:

> > I've fixed this in the CVS, so that setting the default font should work
> > with Windows now.
> OK thanks I made a few more changes and now it is working quite well. Most 
> notably that the
> global env, tcl_platform
> syntax didn't work (env(GISBASE) was an unknown variable) and I had to 
> change it to:
> global env
> global tcl_platform

You can specify multiple variables in a single "global" statement, but
there shouldn't be any commas. "global env, tcl_platform" will attempt
to import a variable named "env," (with a trailing comma).

Glynn Clements <glynn at gclements.plus.com>

More information about the grass-dev mailing list