[j-nsp] Scripting - Redefining variables in For-each Loops
ben b
benboyd.lists at gmail.com
Tue Mar 8 18:22:10 EST 2011
Experts,
I'm in the process of not liking that you can't redefine variables in slax.
I have need to add the values calculated inside of a for-each loop. Has
anyone ever had to do that?
Example of what I want
for-each ( $result ) {
$a = . + 1;
$b = $b + a;
}
$result could be 200 results or 2.
Is this possible in slax?
Thanks in advance,
Ben
More information about the juniper-nsp
mailing list