Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Character array question

Intel_C_Intel
Employee
814 Views
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?

Thanks,

David

0 Kudos
1 Reply
Steven_L_Intel1
Employee
814 Views
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.

Steve
0 Kudos
Reply