One of the things that frustrates me, when going through turotials, is lack of detail. Especcially when there is script writing code involved. In this case there is lack of syntax information.
The writer states the following;
"Comment out the appropriate line depending on which platform you are on:
set PLATFORM irix
#set PLATFORM pc "
The actual block of script code in .tk file looks like this
# Windows, unix or linux?
set PLATFORM $tcl_platform(platform)
So already there is a problem as reality differs from tutorial. For a newby like myself, its those details which create problems.
So when I change code to look like this;
# Windows, unix or linux?
set PLATFORM pc $tcl_platform(platform)
I get error message in Textport that states Platform Undefined.
Same error when changing pc to Windows, or windows
Also tried;
set PLATFORM $tcl_platform(Windows)
set PLATFORM $tcl_platform(windows)
So where did I make an error in defining platform. What is the EXACT correct syntax for defining platform in .tk file under Windows.
Thank you
David Rindner