From: Larry W. Virden on
On Jan 6, 12:51 am, RM3sh <ramesh1...(a)gmail.com> wrote:
> Hi Group,
>
> I hope i am in the right place
>
> i only have 0/10 knowledge in tcl/tk
>
> Questions:
> #. am i on the right place (group) ? if, yes

This newsgroup is indeed the place to ask questions and read more
about the Tool Command Language (Tcl) as well as Tk and other Tcl
related packages, libraries, programs.


> #. where do i write my 'Hello world' program?

Tcl expects its programs in one of two ways - plain text files or
interactively at the console. There are a variety of editors that have
been written that have some ideas about the Tcl language - check out
http://wiki.tcl.tk/1184 , where a number of them are mentioned. There
are likely others not yet listed there...

> #. how should i write my 'Hello world' program?

Many people just start a tclsh or wish interpreter and type in the
lines. Others like to locate a tutorial http://wiki.tcl.tk/17557 or
even an interactive tutorial like http://wiki.tcl.tk/1681 .

> #. is there any other thing i should know/study about tcl/tk?

You should know about three additional invaluable resources:
http://www.tcl.tk/ - a small web site with various pointers to other
useful resources

http://wiki.tcl.tk/ - an site dedicated to all sorts of Tcl related
topics

http://wiki.tcl.tk/2221 - a page that discusses the Tcl IRC channels,
where you can find tcl developers available in "real time"
discussions. No guarantee _what_ they will be discussing... but
frequently one can ask questions there and get pointers to useful
information.
From: Larry W. Virden on
On Jan 7, 1:08 am, RM3sh <ramesh1...(a)gmail.com> wrote:

> => Now, i have written the same program in a file and saved it as
> "hello.tcl"
> => Where should i save the file. Is there any restriction that file
> have to be saved in a particular location. if not, how do i run a file
> saved in a random location 'For Instance: Desktop'

While you can save the file any place, in general, I recommend 2
things to consider.

1. paths which contain spaces in the folder name can, at times,
present challenges. I myself often avoid paths with spaces in them for
that very reason.

2. saving files to paths which are specific to a particular piece of
software can, at times, lead to forgetting, or even losing, the files
if you were to, for instance, uninstall the software before installing
a new version, etc.

I find it best to establish a path of my own, in a way that it will be
guaranteed to be backed up, noticed when moving to a new computer,
etc.



> FYI:I have saved the "hello.tcl" file in the location "C:\Tcl\bin".
> => And, where should i type the command "tclsh hello.tcl". FYI:I have
> tried typing the "tclsh hello.tcl" command in "tkcon.tcl" windows and
> it throws error.

Generally there is a "path" environment variable, which tells Windows
where to look when you are running things.
If that variable doesn't contain the folder path where tclsh is
installed, then you would get a "tclsh not found" type error.

On the other hand, if your tclsh is really installed as tclsh86.exe
(or maybe wish858.exe, etc.) then you need to find the name that was
installed and use that.


>
> ill disturb u guys later ;)
>

I never figure it a disturbance when it is someone making an effort at
learning.