OK, I found the asnwer here:
https://en.wikibooks.org/wiki/Introducing_Julia/Controlling_the_flow#Loop_variables_and_scope
But it seems that I couldn't find it in the manual. Maybe I didn't search 
well, but if it doesn't appear there it is worth mentioning it.

On Saturday, May 7, 2016 at 11:37:36 AM UTC-7, passerby51 wrote:
>
> I was trying to use the for loop variable outside it, after breaking out 
> of the loop, to see how many iterations were executed. But it seems to be 
> that the loop variable is not accessible outside the loop? Is that the 
> case? Does this apply to all the variables defined inside the loop?
>
>

Reply via email to