On 8/11/2010 12:24 PM, McKown, John wrote:
2) To accommodate easier coding in C++, we accept a fullword
of zeroes
as the final argument in lieu of a the high-order bit on calls with a
variable number of parameters. But we do check all
parameters, even the
required ones.
Gary Weinhold
Data Kinetics, Ltd.
Now that is interesting! Do you use a standard parm list with the last address
with bit 0 set, and just add an F'0' after that one? Or do you code your HLASM
to look for the F'0' and not to test for bit 0 set?
We do both, check if the bit is set, if so it's the end, otherwise check
if it's zero, if so it's the end. Calling with the PSA as a parameter
is not supported so it works.