On 2/20/11 3:25 PM, David Wang wrote:
Why the same source file shows different results?
Because the array index »i« in your foreach loop is of type size_t, which is uint (32 bit wide) on x86_32 and ulong (64 bit wide) on x86_64.
By the way, using D2, a shorter way to initialize the array would just be »auto months = array(iota(1,13))«.
David