Writeln does not prints if array has more than 500 elements
    kerdemdemir via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Wed Jun 10 14:49:55 PDT 2015
    
    
  
Hi
Following code works
	int[] peopleMoney = iota(0, 500, 1).array();
	writeln(peopleMoney.map!(a => to!string(a)).joiner(" "));
         => 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ...
It writes the contents to std.output as expected.
But if I change 500 to 600 nothing is being printed.
         int[] peopleMoney = iota(0, 600, 1).array();
	writeln(peopleMoney.map!(a => to!string(a)).joiner(" "));
         ==> NOTHİNG PRINTS
What am I doing wrong?
    
    
More information about the Digitalmars-d-learn
mailing list