[FreeVMS] Re: STR$


Subject: [FreeVMS] Re: STR$
From: BERTRAND JoŽl (joel.k.bertrand@free.fr)
Date: Wed Nov 07 2001 - 15:38:46 CET


roart@nvg.ntnu.no wrote:

>>Thus, this structure uses two 32 bits registers. If we have an
>>dsc$w_length which is coded with only 16 bits, we will not use a
>>character string which contains more than 2**16-1 characters, isn't it ?
>>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?

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

> 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
think that 16-bits are not enough...

> It also seems that string instructions matches the strings descriptors.
> Ah, the beauty of VAX.

        ;-)

        JKB

-- 
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 - 15:37:58 CET