I've defined a series of variables, including $s101, $s102, $s103 etc.
Can I use a "for my $i" statement to run out the 101, 102, 103 series in such a way as to print out the values of $s101, $s102 etc.?
On a previous occasion, I've worked on taking a literal expression, such as "record name" and linking it with a statement such as:
"recordname".$i
which worked fine for that purpose.
For my present need, various attempts around $s.$i or similar simply produce the result of:
.$i
because, of course, $s is not defined.
------------------
WYSIWYG
Regn # 1718-00-DB
[This message has been edited by WYSIWYG (edited February 12, 2000).]
Can I use a "for my $i" statement to run out the 101, 102, 103 series in such a way as to print out the values of $s101, $s102 etc.?
On a previous occasion, I've worked on taking a literal expression, such as "record name" and linking it with a statement such as:
"recordname".$i
which worked fine for that purpose.
For my present need, various attempts around $s.$i or similar simply produce the result of:
.$i
because, of course, $s is not defined.
------------------
WYSIWYG
Regn # 1718-00-DB
[This message has been edited by WYSIWYG (edited February 12, 2000).]