05-15-2021, 08:35 PM
I have this program:
What purpose do the variables in the name FT2M(A,B) serve?
They do not seem to do anything apart from require the program to be called with:
FT2M(A,B) or FT2M(2,4) e.g. Instead of just FT2M, which can be the case if I simply call the program FT2M().
Even when I enter numbers there, they have no reflection on the outcome of the program.
Code:
EXPORT FT2M(A,B)
BEGIN
INPUT(A,"FT","FT",0,0,0);
INPUT(B,"IN","IN",0,0,0);
C:=A/3.28084;
D:=B/39.3701;
E:=C+D;
//STRING (A);
//STRING (B);
RETURN E;
END;
What purpose do the variables in the name FT2M(A,B) serve?
They do not seem to do anything apart from require the program to be called with:
FT2M(A,B) or FT2M(2,4) e.g. Instead of just FT2M, which can be the case if I simply call the program FT2M().
Even when I enter numbers there, they have no reflection on the outcome of the program.