End point of FOR loop should be an integer expression
Messages > Macro Compiler Messages > Errors >
This compiler error will occur if you use anything else than an expression which evaluates to an integer, as the end point of a for loop.
for nCtr = 1 to bOne step 1 // bOne is not integer
for nCtr = 1 to '3' step 1 // '3' is not integer