dynamic variables generation
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

dynamic variables generation

From: <just80n@gmail.com>
Date: Thu Mar 02 2006 - 17:32:33 CET

Hello;

I've been going through the forums and found no satisfying answer:

I want to generate on the fly variable names such as

$myprefix_1
$myprefix_2
$myprefix_3
$myprefix_4
...

using a for construct ... how can I build and then access them in
another for construct (tryed $myprefix_$i ... not satisfying)

thanks!
Received on Sun Apr 30 02:20:50 2006