Thread overview
Array's Length keep the same value on x86 and on x64 ,it will be help for compile the same codes.
Apr 20, 2014
FrankLike
Apr 20, 2014
monarch_dodra
Apr 20, 2014
FrankLike
April 20, 2014
Hi,everyone,

Array's Length keeps the same value on x86 and on x64 ,it will be help for compile the same codes.

      Now,I compile the codes that works on x86 is ok,but on x64 ,array's length's value type is ulong,the codes are very more,modify them that is a big work.
      I think array's length's value type is  uint for most of the conditions ,not only on 86 ,but also on x64.
    If someone want to use ulong, add a property 'longlength' is a good thing,
do you think about it?

Thank you.

Frank
April 20, 2014
On Sunday, 20 April 2014 at 10:57:30 UTC, FrankLike wrote:
> Hi,everyone,
>
> Array's Length keeps the same value on x86 and on x64 ,it will be help for compile the same codes.
>
>       Now,I compile the codes that works on x86 is ok,but on x64 ,array's length's value type is ulong,the codes are very more,modify them that is a big work.
>       I think array's length's value type is  uint for most of the conditions ,not only on 86 ,but also on x64.
>     If someone want to use ulong, add a property 'longlength' is a good thing,
> do you think about it?
>
> Thank you.
>
> Frank

You've already asked this question:
http://forum.dlang.org/thread/uxovgaptnpmuusmdpgju@forum.dlang.org

You've already been told its by design.
April 20, 2014
> You've already asked this question:
> http://forum.dlang.org/thread/uxovgaptnpmuusmdpgju@forum.dlang.org
>
> You've already been told its by design.

Thank you.