That led to exploring the help system which comes with ActiveStates
ActiveTcl. It seems to be exhaustive. But search functionality leaves me
lost. It will list pages where desired term appears. *BUT*, there seems
to be no way to find just where term is used in a page that may be over
3000 words long.
Comments? Suggestions?
Thank you.
> My original question was "What variable naming convention is typically
> used?" Or, "How do I avoid collisions of variable names and tcl keywords?"
There are no "tcl keywords" as such. Command names and variable names
do not collide; they are in separate categories.
> That led to exploring the help system which comes with ActiveStates
> ActiveTcl. It seems to be exhaustive. But search functionality leaves me
> lost. It will list pages where desired term appears. *BUT*, there seems
> to be no way to find just where term is used in a page that may be over
> 3000 words long.
What OS are you using? I have no problem searching through a page of
text on my Windows system at work.
OK. So
set puts "this is weird"
puts $puts
is perfectly legitimate, if bordering on unreadable.
>
>
>>That led to exploring the help system which comes with ActiveStates
>>ActiveTcl. It seems to be exhaustive. But search functionality leaves me
>>lost. It will list pages where desired term appears. *BUT*, there seems
>>to be no way to find just where term is used in a page that may be over
>>3000 words long.
>
>
> What OS are you using? I have no problem searching through a page of
> text on my Windows system at work.
WindowsXP Pro.
Its a previously unnoticed "feature" of Windows Help system (in this
case display of *.chm files). Once you get to a "help page", there is
never a means to search within the page.
The issue is now moot as I came across http://www.tcl.tk/man/ and its
link to Core Documentation in html. Its the same information accessed in
two different ways. So I'll use either/both as needed.
Thanks
OY VEH! ;)
> Its a previously unnoticed "feature" of Windows Help system (in this
> case display of *.chm files). Once you get to a "help page", there
> is never a means to search within the page.
Sure there is... Once you arrive at a specific page in the CHM file...
- Click in the right-hand pane (the content pane)
- Press Ctrl+F to open a standard "Find" dialog
- Type your search string there...
Jeff
> Its a previously unnoticed "feature" of Windows Help system (in this
> case display of *.chm files). Once you get to a "help page", there is
> never a means to search within the page.
That's neither a feature nor a bug. It's an operator error. Just use a
reasonably standard control-F to invoke the Find dialog.
> The issue is now moot as I came across http://www.tcl.tk/man/ and its
> link to Core Documentation in html. Its the same information accessed in
> two different ways. So I'll use either/both as needed.
I tend to use the Tcler's Wiki more often than the local help, myself.
Now you're going tell me that that has been around since Windows ran on
top of DOS in 640k ;/
Live-n-learn
Peter
You can also use http://www.tcl.tk/man/tcl8.4/TclCmd/<cmd>.htm
(remember to replace <cmd> with the command name!) directly, and those
pages are trivially searchable using numerous online services...
Donal.
One answer is "Read over the Tcl Style Guide" document, which, while
written a bit ago, still contains lots of relevant information ... I
don't particularly remember anything missing in there. See http://wiki.tcl.tk/708
for that information.
Another answer is "proper use of namespaces limits collisions". The
catch, of course, is making certain that the name of your namespace is
unique.
At one point, http://pitch.nist.gov/nics/ was offered as a web site
where one could register namespace names, extension names, etc.
However, when I attempted to access that web site this morning, I was
unable to get a response. I don't know the status of that facility.
It even points outs at least one common syntax error ( improper
placement of a "{" ) I must be common error - I made it in less than 1
week ;)
Thru links it also leads to a very informative page
http://wiki.tcl.tk/_ref/3122 "References to Category Tutorial".
Just the tutorial titles give a raw beginner a broad view of what tcl
"is"/"can do".