Combining a variable with a counter?
- From: "Christoph Hörterer" <butzie@xxxxxxxxx>
- Date: 13 Jul 2005 12:12:27 -0700
Hi,
in my script, I got many similar variables
task1 task2 task3 task4 ....
I'd like to address them in a loop with something like
$task$i
for $i being a counter that is increased each time.
Do you have an idea how to solve this. My efforts weren't very
successful.
Thanks,
Christoph Hörterer
.
- Follow-Ups:
- Re: Combining a variable with a counter?
- From: Andreas Leitgeb
- Re: Combining a variable with a counter?
- From: Schelte Bron
- Re: Combining a variable with a counter?
- From: Manfred Stelzhammer
- Re: Combining a variable with a counter?
- From: Bryan Oakley
- Re: Combining a variable with a counter?
- From: Patrick Dunnigan
- Re: Combining a variable with a counter?
- From: Jeff Godfrey
- Re: Combining a variable with a counter?
- Prev by Date: Re: TCL can't do as much as Perl
- Next by Date: Re: A problem about font
- Previous by thread: exec tcpdump and tethereal
- Next by thread: Re: Combining a variable with a counter?
- Index(es):