ERROR: line 3: attempt to declare already used integer 'i' as real