search for: totalnchar

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

Did you mean: total_chart
2009 Sep 04
0
passing character vectors to FORTRAN
...ert, 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*(stringLength) C func...