Post Reply 
Using function in program
01-26-2014, 06:56 PM
Post: #1
Using function in program
Im trying to use a function in a program. Always getting some syntax error. Just trying to send 2 variables to a function and add them , then sending the result back . The function only needs to be accessible from the main program. Probably some error with declarations or something, but I don't get it.

Code:

Func3();

EXPORT Test()
BEGIN
LOCAL a;

a := Func3(3,4);

END;

Func3(a,b);
LOCAL a,b,c;
c := a + b;
RESULT(c);
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Using function in program - Graan - 01-26-2014 06:56 PM
RE: Using function in program - eried - 01-26-2014, 07:25 PM
RE: Using function in program - Dougggg - 01-26-2014, 07:27 PM
RE: Using function in program - Graan - 01-26-2014, 09:27 PM
RE: Using function in program - Han - 01-26-2014, 09:28 PM



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