search for: intstring

Displaying 1 result from an estimated 1 matches for "intstring".

Did you mean: instring
2009 Sep 04
0
passing character vectors to FORTRAN
...h I'm no FORTRAN expert, and I would like to hear your thoughts about it. The basic idea is to convert the strings to integers, transfer the resulting integer vector to FORTRAN, and then convert back to characters. Here's an example: ####### start of fortran code subroutine readchar(intstring,stringlengths,totalnchar,nstrings) implicit none C global variables integer totalnchar,nstrings integer intstring(totalnchar),stringlengths(nstrings) C local variables integer j,count, stringLength, i1, i2 parameter(stringLength = 1000) character c*...