Source position: gmacros.inc line 23
function CLAMP(
x: Integer;
MinX: Integer;
MaxX: Integer
):Integer;