[Info-vax] Any Way to Pass Arrays of Strings from C to Basic?

Dave Froble davef at tsoft-inc.com
Sat Nov 9 12:20:30 EST 2019


On 11/9/2019 11:47 AM, John Reagan wrote:
> On Friday, November 8, 2019 at 2:10:56 PM UTC-5, Dave Froble wrote:
>
>>
>> Now, most of the VMS languages play rather well in such an environment.
>> Then there is C, which does not play well in that environment.  There is
>> the VMS calling standard, and, there is the VMS data types.  Use them,
>> and things can work well.  C is not a native VMS language, as far as I
>> know, and doesn't embrace the calling standard, nor the data types.
>>
>
> Huh?!?!?  Of course it does.

What subset of VMS data types are supported by C ?

> Descriptors are a mess.

You've been listening to Steve too much.

Anything can be improved.  However, descriptors, as a concept, are a 
whole bunch better than not having descriptors, or something better.

> Try to handle a CLASS_VS descriptor when passed from Pascal to Fortran?  Try to handle a 64-bit descriptor in COBOL or Pascal?

Hey, I'm not the compiler guy.  Seems that you might be.  Are you 
mentioning your failings?

:-)

> We used to have a real manual that listed all the descriptor kinds that each language accepts for incoming arguments and which ones it can produce for outgoing arguments.  The caller has the responsibility to pass what the target wants (if you can figure it out).

Yeah, I remember "real" documentation, and, I still have some of that.


-- 
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