EICS
Member
Another Cicode question if i may.
i have 2 Functions in cicode one function calls the other and i need to pass 2 Variables from one to the other and possibly a return value.
Would like to keep the 2 different functions rather than roll into one.
FUNCTION
Test_A()
String sTagD;
Int iTagF;
code;
code;
IF Code THEN
sTagD = "something";
iTagF = 5;
Test_B();
ELSE
Code;
END
RETURNED ! Returned Value from Test_B
code;
code;
END
FUNCTION
Test_B(sTagD, iTagF)
String sTagH;
INT iTagK;
code;
code;
IF Code THEN
sTagH = "Something Else";
ELSE
Code;
END
RETURN to Test A???? ! Return INT iTagK value Back to FUNCTION Test_A
END
i have 2 Functions in cicode one function calls the other and i need to pass 2 Variables from one to the other and possibly a return value.
Would like to keep the 2 different functions rather than roll into one.
FUNCTION
Test_A()
String sTagD;
Int iTagF;
code;
code;
IF Code THEN
sTagD = "something";
iTagF = 5;
Test_B();
ELSE
Code;
END
RETURNED ! Returned Value from Test_B
code;
code;
END
FUNCTION
Test_B(sTagD, iTagF)
String sTagH;
INT iTagK;
code;
code;
IF Code THEN
sTagH = "Something Else";
ELSE
Code;
END
RETURN to Test A???? ! Return INT iTagK value Back to FUNCTION Test_A
END
Last edited: