Originally posted by: SystemAdmin
[afleischer said:]
Hi,
maybe you could use the include keyword.
Let me give you an example.
You write your main block in main.mod
include "sub.mod";
main
{
writeln(A(2));
}
and in sub.mod
you have
execute
{
function A(x)
{
return 2+x;
}
}
The displayed result will be 4
Alex
#DecisionOptimization#MathematicalProgramming-General