[Info-vax] Fortran problem with QIO

gerry77 at no.spam.mail.com gerry77 at no.spam.mail.com
Wed Dec 2 11:01:45 EST 2009


On Wed, 2 Dec 2009 05:54:25 -0800 (PST), Steven Schweda
<sms.antinode at gmail.com> wrote:

>    Not I.  There is some C code in UnZip ([.vms]vms.c) which
> uses QIO[W] with IO$_CREATE.  It probably does things which
> you don't need, but it might give you some ideas.
> 
>    If you posted your code, (we might all have a good laugh,
> but) someone might be able to identify a problem which you
> aren't seeing.

Actually I've not posted the code just to avoid the good laugh of the whole
NG :-) In the meantime I'm studying some other samples, including the Unzip
one, and I'm starting to suspect a problem with descriptors.

It was my understanding that the %DESCR built-in function was always good
whenever there was something to pass "by descriptor". Now I'm starting to
think that that is correct only if "something" is a character string and not
something else. Am I right? I'm just perusing $DSCDEF in FORSYSDEF.TLB and
I'm wondering about its contents and what I have to pass to $QIO[W]...

Stay tuned! :-)
G.




More information about the Info-vax mailing list