
new to tcl/tk need prelim info
Quote:
> Hi world out there,
> ok, here's my predicament : I wish to develop a GUI around my math
> applications which run under Unix / Linux and are developped in Fortran.
This sounds a lot like what I'm doing. I'm building a click-em-up to
format and fire off batch jobs to OS/390, maybe do some JES2 queries,
and log results to a Sybase database.
Quote:
> I seem to understand that tcl/tk might be the answer to my problem, but
> where do I start ?
My question exactly. I got here because a friend told me about Tcl/Tk
2-3 years ago. I didn't have a need until a couple months ago. I've
put up Mandrake Linux and have been twinkin' with Tcl/Tk.
Quote:
> * where do I find basic info about tcl/tk ?
This is a great question. I bought a book, "Tcl/Tk for Real
Progammers" by Flynt. It has a lot of enthusiasm but not enough
structure.
Quote:
> *is it really what I am looking for ?
I think so. As I said, there's a lot of enthusiasm but the basic
cookbook is missing.
Quote:
> * I have some experience about using GUI tools under VB (windows) but so
> far I gather this is somewhat different, how do you code tcl/tk
> and how do you implement this code with an application ?
Take a look at SpecTcl. It will get you started but I haven't figured
out how (or when) to splice in my application logic. I've tentatively
inserted some external calls such as calling XEDIT (the X editor not
the VM/CMS editor). These seem to work but I've also gotten the source
file torqued around to the point that SpecTcl won't open it again.
Quote:
> At first I am looking to install this under Linux, can anyone help out ?
It came with my Mandrake distribution, I think it's everywhere.
Quote:
> The web is crawling with info but I cannot find anything newbie-oriented
> :
> I can program, that's not a problem, but I want to program tcl.
Exactly the problem that I have. What's missing is a clear, simple
set of starting instructions. I don't want all the options and
parameters.
1. How do I assign values to a variable?
2. What is a loop like?
3. Show me an IF statement.
4. Show me all this in small program that I can run.
5. How do I read a file (and detect end of file.)?
.. and how do I do this with SpecTcl and wish?
I know it's there, maybe even in Flynt's book but I need a 10 page
"Childs Garden of Tcl", not a 685 page manual.
Quote:
> well there you are, my cry for help.
> thanks a million for anyone with any ideas.
> cheers
> GT
Perhaps we can bat this back and forth. Put up examples of our
twinking and the experts would help us out. We could use "NQ" Nubie
Question in the subject line. If a couple of us learn Tcl this way, it
could be consolidated into a FAQ or manual for beginners who can
already program.
By the way, I work in S/390 assembly language, PL/I, Rexx, and C. I've
taught VB and built large systems in Basic but don't put it on my
resume. I also picked up an M.S. Computer Science so I know something
about an efete academic's view of computing.
--
cory hamasaki