loop over x=fileinfo('build.xml') { x[__} }
x -> <null>
As you can see the "x" variable is not set in this context.
Suggest it should get set in the surrounding context, not the context of inside the loop statement (this conforms to other statements such as "if" and "while" that will set such a variable into the surrounding context.
Try this pattern:
As you can see the "x" variable is not set in this context.
Suggest it should get set in the surrounding context, not the context of inside the loop statement (this conforms to other statements such as "if" and "while" that will set such a variable into the surrounding context.