- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following code used to compile fineprior to my "upgrading" to VS2008 (9.0.21022.8 RTM)and IVF 11.1.067, but now itgives the compilation Error 1 shown below.
[fxfortran] write(37,*)'(sec)',(tab,'Code',tab,'('//volunit//')', 1 tab,'('//trim(pressunit)//'-abs)',tab,'(gm-moles)',tab 1 ,'Fraction',tab,'('//trim(pressunit)//'-abs)' 1 ,tab,'('//trim(pressunit)//'-abs)',j=1,lngPL) [/fxfortran]Error 1 error #5082: Syntax error, found ')' when expecting one of: :
When I change the code to the following -- using brackets in place of parentheses in the literal strings --all is fine. It compiles and links, and away we go.
[fxfortran] write(37,*)'[sec]',(tab,'Code',tab,'['//volunit//']', 1 tab,'['//trim(pressunit)//'-abs]',tab,'[gm-moles]',tab 1 ,'Fraction',tab,'['//trim(pressunit)//'-abs]' 1 ,tab,'['//trim(pressunit)//'-abs]',j=1,lngPL) [/fxfortran]Since all of the potentially offending right parentheses were originally within single quotes to designate literal strings, this appears to be some sort of compiling error. Or have I missed some recent change of the Fortran syntax rules?
Thanks and God bless!
Jack O'Sullivan
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a compiler bug - I'll report it to the developers. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, Steve.
Ironically, this is myfirst encounter with IVF in over a year. Leave it to me to bump into a bug!
Thanks again, and of course ...
God bless!
jack
Ironically, this is myfirst encounter with IVF in over a year. Leave it to me to bump into a bug!
Thanks again, and of course ...
God bless!
jack
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jack,
Can you tell me which version you used before?
Can you tell me which version you used before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Never mind - I found that it compiled ok in 11.1.060. Reported as issue DPD200162543.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Sorry I "stepped away" from my emails and things for a bit... Glad you found what worked. I'm pretty sure I was successfully using one of the earlier 11.0's, but thanks to a crashed laptop, I can't be sure of which build.
Thanks again for all you do!
God bless!
Jack
Sorry I "stepped away" from my emails and things for a bit... Glad you found what worked. I'm pretty sure I was successfully using one of the earlier 11.0's, but thanks to a crashed laptop, I can't be sure of which build.
Thanks again for all you do!
God bless!
Jack

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page