I think I understand the idea... but this brings up two questions.
#1 do you have to remove the pragma intrinsic so the compiler doesn't try
to gernerate this info?
#2 Is this documented in any standard hp manual? I'm just thinking if
someone else has to get into this code in a few years it would nice that
they could figure out what is going on. Yes I could put documentation in
the program, but I would rather do something a little more above board.
Plus the shop I'm in isn't to technologically advanced.
-Lane
>I believe hpsortint is an option variable procedure. as a way of
>telling the procedure which parameters are passed there is a flag
>word(s) as the last parameter passed. with C you will have to generate
>this flag word one bit for each parameter passed.
>
>> I am trying to use the HPSORTINIT intrinsic from C (MPE not POSIX) and
>> running into a problem due to C not supporting default parameter
>> substitution. Is there any way not to supply file numbers to these
>> subroutines? I tried just passing zeros in the input and output file
>> records and get the error "There are no input files in the supplied
>> parameters." I really just wanted to use the HPSORTINPUT and
>> HPSORTOUTPUT
>> routines and not monkeying around with files.
>>
>> Thanks, Lane