In reply to Noah.

Yes. Let's say A and B are the two variables that you want to return. Define the module by
start MyMod(A, B, x1, x2, x3);
...
finish;

The other eight variables that you define in the module are LOCAL variables. They exist only within the module and vanish when the module returns.