Character array question

Character array question

I want an array of characters strings.
Each string is varaiable in length.

Can I do this in CVF?

The following statement gives an error.

character*(*) point(10)

Is there an other way to do this?



2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Fortran doesn't have the feature you want, but there is an appendix to the standard containing a module called ISO_VARYING_STRINGS that provides this functionality. CVF supplies it under SAMPLESISOVAR.


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today