Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!dino!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!tundra From: tundra@ux1.cso.uiuc.edu Newsgroups: comp.sys.hp Subject: Re: FORTRAN/"C" Char Descriptors Message-ID: <16900007@ux1.cso.uiuc.edu> Date: 8 May 90 13:24:00 GMT References: <193136@<1990May7> Lines: 25 Nf-ID: #R:<1990May7:193136:ux1.cso.uiuc.edu:16900007:000:969 Nf-From: ux1.cso.uiuc.edu!tundra May 8 08:24:00 1990 >>>Does anybody know a way to DISABLE CHARACTER STRING LENGTH >>>passing from Fortran to "C" subroutines? Oops... Answered my own question... Apparently there is a Fortran compiler option to support the Fortran/"C" problem of passing character strings. If you compile with: fc +E3 Character descripter length parameters are moved to the end of the parameter list. Other people suggested passing integer arrays from Fortran, or using the "$ALIAS" compiler directive, both of which are good workable methods. Thanks for all who replied... -------- john kemp ( ( )_ internet - kemp@uiatma.atmos.uiuc.edu ----- ( ( __) decnet - uiatmb::kemp --- univ of illinois (_ ( __) bitnet - {uunet,convex} -- dept of atmos sci .(____). !uiucuxc!uiatma!kemp - 105 s gregory ave ... phone - (217) 333-6881 - urbana, il 61801 ... fax - (217) 444-4393