- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have inhereted legacy code and am porting it to a PC using CVF 6.1. I am getting the following error on this line of code:
open (unit=5,name=file1:lroot)//'m.m'
,type='new',creator='MATL')
with the following error:
Error: This input/output keyword is invalid. [CREATOR]
I have this error appear a few times in the code. I tried using help which gave told me to use CreatorName it didn't work either. I am trying to create a matlab file. Any help is appreciated
open (unit=5,name=file1:lroot)//'m.m'
,type='new',creator='MATL')
with the following error:
Error: This input/output keyword is invalid. [CREATOR]
I have this error appear a few times in the code. I tried using help which gave told me to use CreatorName it didn't work either. I am trying to create a matlab file. Any help is appreciated
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm guessing that Creator and/or CreatorName was an extension for the particular implementation of Fortran this code was originally written for. CVF does not support such an option, nor can I reasonably guess what it should do. I suggest simply removing it from the various OPENs and see if the program does what you want.
I also suggest replacing the non-standard TYPE= with STATUS=. and the non-standard NAME= with FILE=.
Steve
I also suggest replacing the non-standard TYPE= with STATUS=. and the non-standard NAME= with FILE=.
Steve
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