in reply to Declaring and checking content of variables with consecutive names
The extreme dodgy hack way (if you cannot use arrays) would be like this :
Yes very hacky I know but it does answer the question.for(0..99){ ${"str$_"}=""; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Declaring and checking content of variables with consecutive names
by haukex (Archbishop) on Sep 27, 2016 at 08:53 UTC |