I’m sorry , but as usual I need a little more context. This compiles fine:
class method Main(args: array of String): Int32;
begin
// add your own code here
writeLn('The magic happens here.');
var position: Int64;
var f_length: Int64;
if 0 <= position <= f_length then
end;