Dim v as String v = 10 For i = 0 to v ' compiles OK For i = v to 0 ' Java compiler error Also "Step" is not recognised as a keyword so is not coloured blue and is not auto-capitalised by the IDE