[Info-vax] Very simple DCL question
Dave Froble
davef at tsoft-inc.com
Sun Jan 1 16:08:21 EST 2023
On 1/1/2023 12:27 PM, Arne Vajhøj wrote:
> On 1/1/2023 11:29 AM, Volker Halle wrote:
>>>> This is interesting. One can get COM files to accept 16 parameters?
>>>> How?
>>
>> See DCL_CTLFLAGS bit 3
>>
>> If clear (the default), command procedure supports the default eight
>> optional parameters (that is, (P1,P2,...P8)). If set, command
>> procedure supports up to sixteen optional parameters (that is,
>> (P1,P2,...P16)). This is also applicable when using the CALL command
>> to transfer control to a subroutine. >
>> Reference: https://wiki.vmssoftware.com/DCL_CTLFLAGS
>
> So much to learn so little time.
>
> I have a strong feeling that very few has set that bit.
I have a strong feeling that you are correct ...
Frankly, while there may occasionally be some use for up to 16 arguments,
usually there are better methods for passing large amounts of data. My opinion,
for what it's worth ...
--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef at tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486
More information about the Info-vax
mailing list