Array's Length keep the same value on x86 and on x64 , it will be help for compile the same codes.
monarch_dodra via Digitalmars-d
digitalmars-d at puremagic.com
Sun Apr 20 04:55:18 PDT 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.
More information about the Digitalmars-d
mailing list