You can code the following to allow any number of arguments: the compiler will 
generate the pseudo variables for you.   I'm doing this from memory as I don't 
have access to a PL/I compiler right now so please verify.

Declare myFunc External('VSHPARR') Entry;

If you were to code this:

Declare myFunc External('VSHPARR') Entry( );

It would indicate there are no arguments for the function, say for returning 
the value of some constant such as PI.

PS, I would not use "TUPLE" for a PL/I parameter list, although no doubt the 
.NET and PYTHON people love it.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to