Why FOR Loop last iteration ITEM not available GLOBALLY?

I don’t think I have ever seen it used in the wild, but there is the outer keyword that you could use for this; see Scope of Variables · The Julia Language.

1 Like