Hello everyone
I am using MS FPS 4.0 and am having problems with assumed character string
length. Here is what I am trying to do:
CHARACTER(2) :: str1, str2
CHARACTER(len = *) :: str3
...
...
...
...
str1 = '1 '
str2 = '2 '
str3 = 'file'//Trim(str1)//Trim(str2)//'.dat'
The error that I get is the following:
F:\Oct97\07\stark\f90\lines\ImpactLine.f90(108): error FOR3288: assumed
length is not valid for CHARACTER item STR3
Error executing fl32.exe.
I am trying to use my data to create the names of my output files on the fly
but apparently I am doing some thing wrong. Can you help?
Thanks in advance
Jim
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|