HP3000-L Archives

April 1998, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Lane Rollins <[log in to unmask]>
Reply To:
Lane Rollins <[log in to unmask]>
Date:
Tue, 7 Apr 1998 15:16:15 -0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
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

ATOM RSS1 RSS2