Post Reply 
Variables in a Program(A,B)
05-15-2021, 08:35 PM (This post was last modified: 05-15-2021 08:36 PM by matalog.)
Post: #1
Variables in a Program(A,B)
I have this 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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Variables in a Program(A,B) - matalog - 05-15-2021 08:35 PM
RE: Variables in a Program(A,B) - matalog - 05-15-2021, 09:04 PM
RE: Variables in a Program(A,B) - C.Ret - 05-16-2021, 05:33 AM



User(s) browsing this thread: 1 Guest(s)