21 Oct
2010
21 Oct
'10
12:13 p.m.
On Oct 21 2010, Bill Long wrote:
I've lost track of the choice numbers, but if there is no need for characters other that C's char, then the simplest solution (for both the user and the TR) is to treat character arrays passed by descriptor like any other arrays passed by descriptor. The type would be char, and the dimension information (dim[] member) corresponds to the Fortran dimensions. The elem_len field contains the array element length. Because sizeof(char) is 1, the character length parameter is equal to the elem_len value, so the character len value is directly available.
It is also the least future-resistant, which is matter of considerable concern. Regards, Nick Maclaren.