Re: Counters in variable names.

nobull_at_mail.com
Date: 03/22/04


Date: 22 Mar 2004 09:40:08 -0800


"dw" <me@verizon.invalid> wrote in message news:<GBr7c.22519$VV1.12278@nwrddc01.gnilink.net>...
> "Gary" <reachus@netlink.info> wrote in message
> news:W8r7c.12945$1e1.1473@lakeread06...
> >How can I get a variable to be part of anothers variable name.
> >
> how about using something like:
> ${"update$counter"}

I am less rabid than some about these things but I really don't think
that showing the OP how to write a symref is a kind thing to do. You
can tell him that symbolic references are what he's talking about but
make him go RTFM to find out about symrefs and why he doesn't really
want them.

Since the OP is asking FAQ "How can I use a variable as a variable
name?" then the best and _most_ _helpful_ response is RTFFAQ. It is,
really. Some people will disagree with me on this, but that's
because they are wrong.

This newsgroup does not exist (see FAQ). Please do not follow-up here
without mentioning this.