09-12-2024, 07:01 PM
Look for what you have ln defined as. Check DIM and _DEFINE type statements.
The "Unsupported variable used in the For statement" is usually one that triggers when you use an invalid variable type for the FOR..LOOP, such as a STRING variable..
The "Unsupported variable used in the For statement" is usually one that triggers when you use an invalid variable type for the FOR..LOOP, such as a STRING variable..
Code: (Select All)
Dim ln As String
For ln = 1 To 50
' Print ln, SpeedFactor(ln), Speed(ln)
Next