- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this out using "iface:cvf":
! compile with: "iface:cvf"
program Console1implicit none
integer :: ierr
character(len=16) :: cvar
call getarg(0,cvar,status=ierr)
print*,cvar,ierr
pause
end program Console1
only workaround I've found is to create a "mygetarg", compile with "iface:default", make an interface so I can call it, etc...
I'll report this to Premier support later. I wonder if it is a bug withroutines that have character arguments and optional parameters when compiled with "iface:cvf" ? Hope not, the COMroutines are full of that kind of thing. Ian.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This isn't new in 048, unfortunately. We had an earlier report on it and engineering has it. The bug is specific to certain intrinsics that used to be library routines and has to do with where the string lengths are passed.
Message Edited by sblionel on 04-28-2004 04:37 PM

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