[Info-vax] Very simple DCL question
Johnny Billquist
bqt at softjar.se
Sun Jan 1 14:59:52 EST 2023
On 2023-01-01 19:02, Arne Vajhøj wrote:
> On 1/1/2023 12:54 PM, Stephen Hoffman wrote:
>> Compatibility inevitably extracts its costs in complexity and
>> confusion and effort.
>>
>> Look around. This DCL feature has been available for over a dozen
>> years. And few here even knew of its existence. That's a problem.
>
> On the other hand then breaking compatibility also requires
> a justification.
I would sortof agree with that.
> Who needs more than 8 parameters? Obviously someone
> did since the feature was added, but it does not seem
> like something many wants.
I might be very rusty here, but isn't there a way to just get the whole
command line as well, as as such, if there are more than 8 parameters,
you could extract that anyway? Just a little bit of more coding required?
In RSX this is definitely the case anyway. P9 is actually everything
beyond the 8th parameter, so if you wanted the ninth, you'd go ahead and
parse it out from P9. And there is even a function available to do that
parsing for you. So no more than one additional line of code to get to
it. (There is also the COMMAN variable that holds the full command line.)
Johnny
More information about the Info-vax
mailing list