- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Intel Fortran 7 seems to be able to compile the variable expression format statement without any error, but the program fails at runtime.
m = 5
print '(f10.4)' x1,x2,x3,x4,x5
Regards,
Long
Intel Fortran 7 seems to be able to compile the variable expression format statement without any error, but the program fails at runtime.
m = 5
print '(
Regards,
Long
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well, yes, Intel Fortran 7 does support variable format expressions in FORMAT statements, but you didn't write a FORMAT statement!
IF7 does not support VFEs in character literal formats, which is what you used. Use a separate FORMAT statement and it will work ok.
This works in CVF and should work in the future Intel Visual Fortran product.
Steve
IF7 does not support VFEs in character literal formats, which is what you used. Use a separate FORMAT statement and it will work ok.
This works in CVF and should work in the future Intel Visual Fortran product.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for clarification!
Regards,
Long
Regards,
Long

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