in reply to Re^2: accessing variable vaule outside for loop
in thread accessing variable vaule outside for loop

try the push function to add an element to an array.

  • Comment on Re^3: accessing variable vaule outside for loop