in reply to variable passing....

The solution you want really depends on the whole sequence:

If your programs run in sequence, first the one that