[FreeVMS] Re: STR$

Subject: [FreeVMS] Re: STR$
Date: Wed Nov 07 2001 - 17:09:22 CET

On Wed, Nov 07, 2001 at 03:38:46PM +0100, BERTRAND JoŽl wrote:
> roart@nvg.ntnu.no wrote:
> >>When I use the Fortran compiler with a VAX version of VMS (5.x), I
> >>believe that the length of the string was coded by an 32-bits integer.
> >>g77 uses 32-bits too.
> >>
> >
> > Could you check that again?

I meant on VAX/VMS 5.x.

> For g77, I'm sure. For VMS, my PWS500a is out of usage ("fan enclosure
> not spinning" and shutdown !). So, I cannot confirm.

I do not know g77, so I can not say anything about it.

> > VARM says string length is max 65535/16-bit
> For both VAX and APX ? Why don't we use a 32-bits integer (or 64) ? I

(The AXP did not exist when my Leonard VARM was published)

> think that 16-bits are not enough...

Descriptors on 64-bit (AXP) are 24 bytes in length. AXP seems to have no
string instructions, so we are not bound by the instruction set.
We are not bound either, but we should think about alignments.

( unsigned short dsc64$w_mbo;
        unsigned char dsc64$b_dtype;
        unsigned char dsc64$b_class;
        long dsc64$l_mbmo;
it pointer */
        unsigned __int64 dsc64$q_length;
        char *dsc64$pq_pointer;

-Roar Thronśs

Liste de diffusion FreeVMS
Pour se dťsinscrire : mailto:freevms-request@ml.free.fr?subject=unsubscribe

This archive was generated by hypermail 2b25 : Wed Nov 07 2001 - 17:09:55 CET