As far as I understand (same as others), that should be invalid syntax. Variable 'I" should be only valid in the for loop.
Also, even it's valid syntax, I would never write that kind of code because it's so confusing. Indeed I would not spend my any time on studying "goto". I will stop here, otherwise will bring a flame war of "goto" discussion.