7 'val' is not allowed in old-style for loops
7 Type mismatch: cannot convert from int to val