[scripting] try to passing arguments to for cycle (inside a function)
Problem: I need a method to maintain the $i variable.
In fact, actually, this variable get lost when executed.
I think that an escape can preserve this variable and permit its execution inside the function, but I've no idea about.
Are you trying to run the [ReadFileLines "list.txt" "echo $i" ] only once, or do you want it ran every time the for loop sequences? From what I can see though, you can declare another variable and set it to the value of i, just make sure to declare it outside of the for-loop scope.
inside the for-loop instead of expanding a variable that holds an instruction?
thanks 10000!!! :cool:
|All times are GMT -5. The time now is 10:49 PM.|