- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using 8.1.023 on Linux:
Given this code from the library reference:
Code:
use IFPORT character*20 username CALL GETLOG (username) print *, "You logged in as ",username
I can remove the "use IFPORT" statement and compile withonly the -static-libcxaoption and the code still works. I guess I don't understand why when I don't include the "use IFPORT" statement, the code still works.
Thanks,
Chris
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The portability library is linked in by default. You can get away without the USE for many routines. But some with varying argument lists (RAND, for example) require the USE.

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