[Info-vax] Fortran problem with QIO

Ken Fairfield ken.fairfield at gmail.com
Wed Dec 9 13:51:35 EST 2009


On Dec 9, 9:49 am, jbriggs444 <jbriggs... at gmail.com> wrote:
> On Dec 7, 12:00 pm, Ken Fairfield <ken.fairfi... at gmail.com> wrote:
>
>
>
[,,,]
> > Setting up structures (item lists) can be a little
> > different: if a item is described as the "the
> > address of a word to receive...", or similar,
> > you'll need a %REF on the right side of the
> > assignment, IIRC.
>
> %REF is specifically for subroutine and function calls.  It even works
> for computed values or literals iirc.
>
>     e.g. call my_sub ( %ref(2+2), %ref('foobar') )
>
> %LOC is what you use to populate item lists with address values. ...

Oh, right, good catch.  I've clearly been away from
this stuff for far too long, sigh...

   Thanks, Ken



More information about the Info-vax mailing list