home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!decwrl!netcomsv!netcom.com!elh
- From: elh@netcom.com (Ed Hudson)
- Subject: Re: stupid question about arrays and variables - a-ha!
- Message-ID: <1992Nov5.222743.9883@netcom.com>
- Organization: Netcom - Online Communication Services (408 241-9760 guest)
- References: <1992Nov5.000824.21915@netcom.com>
- Distribution: USA
- Date: Thu, 5 Nov 1992 22:27:43 GMT
- Lines: 17
-
- In article <1992Nov5.000824.21915@netcom.com> elh@netcom.com (Ed Hudson) writes:
- > if i understand correctly, i cannot use the name of an array as an
- > argument. ie,
- >
- > set aaa(0) 5
- > set ddd aaa
- >
- > i would like to be able to access array "aaa" by refering thru "ddd",
- > something like:
- >
- > echo ${${ddd}(0)}
- >
-
- please don't bother answering. i've looked thru both the FAQ and recent
- postings to this group and have found answers in both places.
-
- -elh
-