Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
告知
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 ディスカッション

Character array question

Intel_C_Intel
従業員
583件の閲覧回数
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 件の賞賛
1 返信
Steven_L_Intel1
従業員
583件の閲覧回数
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
返信