Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Include files in a tcl script?

1 view
Skip to first unread message

jon battle

unread,
Jul 3, 2001, 12:23:06 PM7/3/01
to
- forgive my ignorance, but ....
HOWTO?

Jeff Godfrey

unread,
Jul 3, 2001, 12:30:50 PM7/3/01
to
If you simply want to include a raw tcl script, use:

source <file.tcl>

There are more elegant ways (such as [package require]), but they require a
bit more planning and setup...

Jeff


"jon battle" <jc...@att.net> wrote in message
news:45fe03c8.01070...@posting.google.com...

Glenn Jackman

unread,
Jul 3, 2001, 12:44:58 PM7/3/01
to
jon battle <jc...@att.net> wrote on [3 Jul 2001 09:23:06 -0700]:
>HOWTO?

The 'source' command:
http://tcl.activestate.com/man/tcl8.3.2/TclCmd/source.htm

--
Glenn Jackman

Robert Heller

unread,
Jul 3, 2001, 2:26:06 PM7/3/01
to
jc...@att.net (jon battle),
In a message on 3 Jul 2001 09:23:06 -0700, wrote :

jb> - forgive my ignorance, but ....
jb> HOWTO?
jb>

source filename

(man n source)



--
\/
Robert Heller ||InterNet: hel...@cs.umass.edu
http://vis-www.cs.umass.edu/~heller || hel...@deepsoft.com
http://www.deepsoft.com /\FidoNet: 1:321/153

0 new messages