Lahey Support
08-15-2003, 01:19 AM
On Jan 19, 12:14pm, Wen-Li Chiang wrote:
> Subject: [LF] strange data statement
> I am studying a Fortran program listed in a Ph.D. dissertation. That
> program was compiled and ran in an IBM 370/3032 in a famous university
> about twenty years ago. There is a data statement
>
> DATA S/ /
>
> in a subroutine. There is not any parameter statement and not any
> variable name starting with Z3C. Can any one please tell me that this
> data statement could possibly pass through any Fortran compiler?
>
> Wen Chiang
> [address removed]
Wen-Li,
I would take this to mean the variable S (string may be) is assigned the value
Z3C100000 Fortran of 20 years ago would not allow more than 6 characters in a
variable name. Check your subroutine to see if the variable S is defined as a
string.
I may be wrong but that's how I would start.
Mark Williams
--
Dr. Mark E. Williams
Bldg N-159, Rm E-215 phone: 757-824-1744
NASA/GSFC/WFF email: [address removed]
Wallops Island, VA 23337
As long as there are tests, there will be prayer in public schools.
> Subject: [LF] strange data statement
> I am studying a Fortran program listed in a Ph.D. dissertation. That
> program was compiled and ran in an IBM 370/3032 in a famous university
> about twenty years ago. There is a data statement
>
> DATA S/ /
>
> in a subroutine. There is not any parameter statement and not any
> variable name starting with Z3C. Can any one please tell me that this
> data statement could possibly pass through any Fortran compiler?
>
> Wen Chiang
> [address removed]
Wen-Li,
I would take this to mean the variable S (string may be) is assigned the value
Z3C100000 Fortran of 20 years ago would not allow more than 6 characters in a
variable name. Check your subroutine to see if the variable S is defined as a
string.
I may be wrong but that's how I would start.
Mark Williams
--
Dr. Mark E. Williams
Bldg N-159, Rm E-215 phone: 757-824-1744
NASA/GSFC/WFF email: [address removed]
Wallops Island, VA 23337
As long as there are tests, there will be prayer in public schools.