- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was in the process of recompiling one of my programs which had no previous compiling errors in 2011.11.344. I was in the debug mode and I got several syntax errors on the following data statement:
C
DATA COEFF/5.316,0.14285E-01,-0.8362E-05, 0.1784E-08, CO2
&7.70,0.04594E-02,0.2521E-05,-0.8587E-09, H2O
&6.903,-0.03753E-02,0.1930E-05,-0.6861E-09, N2
&6.157,0.1384E-01,-0.9103E-05,0.2057E-08, SO2
&6.085,0.3631E-02,-0.1709E-05,0.3133E-09, O2
&6.726,4.001E-04,1.283E-06,-5.307E-10/ CO
The syntax errors were like this: "Error 7 error #5082: Syntax error, found REAL_CONSTANT '.70' when expecting one of: ( * , % [ / E:\Fortran Projects\XXXX600\XXXX600\XXXs600.for 1094 7.70". This happened on every continuation line of this statement. The errors do not occur in the Release mode.
What I found causing this is the compound names (CO2, H2O, etc) which start in column 73. My program is set up for fixed formating. If I remove them or add a comment "!" in front of them the error does not occur. Also there were no tab setting. Please let me know what you find.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page