- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
コピーされたリンク
1 返信
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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.
