- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm trying to port out project from VAX to PC. We used a lot of INCLUDE 'TEXTLIB(MODULNAME)'. I'm just wondering if there exists a windows tool to create the text lib, so that I don't have to change all those includes.
Thanks.
Thanks.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
According to CVF's on-line help, INCLUDE 'TEXTLIB(MODULENAME)' is a syntax that's available only for use on VMS.
You can store all the files from your VMS text library in a specific Windows directory and specify that directory to be searched when the compiler encounters INCLUDE 'FILENAME' statements in your source code. From the CVF on-line help:
The /include or /I option specifies one or more additional directories (path) to be searched for module files (USE statement) and include files (INCLUDE statement).
In the visual development environment, specify Custom INCLUDE and USE Path in the Preprocessor Compiler Option Category.
Mike
You can store all the files from your VMS text library in a specific Windows directory and specify that directory to be searched when the compiler encounters INCLUDE 'FILENAME' statements in your source code. From the CVF on-line help:
The /include or /I option specifies one or more additional directories (path) to be searched for module files (USE statement) and include files (INCLUDE statement).
In the visual development environment, specify Custom INCLUDE and USE Path in the Preprocessor Compiler Option Category.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hah! I knew this would come in handy some day...
Some time ago, I added an undocumented feature to CVF, which is enabled when you have turned on the VMS compatibility switch (/vms). It turns INCLUDE 'TEXTLIB(MODNAME)' into INCLUDE 'MODNAME'. So if you simply have your modules as .F (or .F90, as appropriate) files in your source directory (or somewhere on the include path), it will find them.
Steve
Some time ago, I added an undocumented feature to CVF, which is enabled when you have turned on the VMS compatibility switch (/vms). It turns INCLUDE 'TEXTLIB(MODNAME)' into INCLUDE 'MODNAME'. So if you simply have your modules as .F (or .F90, as appropriate) files in your source directory (or somewhere on the include path), it will find them.
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's not quite right. On VMS, modules in a text library don't actually have file names. You may have used a .txt file to create the library, but that doesn't affect the contents of the library. All there is is a module name.
Steve
Steve
![](/skins/images/DC0E2679F7049B943291D1ED082A478E/responsive_peak/images/icon_anonymous_message.png)
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