I think you'll need to declare the 'I' variable: VAR I% FOR I%=0 TO 9 STEP 2 ?"Hello, world!" NEXT