Re: File append Limit

2011-08-06 Thread Kagamin
Joshua Niehus Wrote: That works, but I misrepresented the problem and found that the following may be the issue (this looks more like the code im using): import std.conv, std.stdio; void main() { string[] strArr; foreach(int i; 0 .. 257) { strArr ~= text(Line: ~

File append limit?

2011-08-05 Thread Joshua Niehus
Hello, I am running a script that creates a file which lists all the folders in a directory: foreach (string name; dirEntries(/Users/josh/, SpanMode.shallow)) { append(/Users/dirList.txt, name ~ \n); } But it seems to stop appending after 255 lines (this particular folder has

Re: File append limit?

2011-08-05 Thread Kagamin
Joshua Niehus Wrote: Hello, I am running a script that creates a file which lists all the folders in a directory: foreach (string name; dirEntries(/Users/josh/, SpanMode.shallow)) { append(/Users/dirList.txt, name ~ \n); } But it seems to stop appending after 255

Re: File append limit?

2011-08-05 Thread Dmitry Olshansky
On 05.08.2011 19:35, Joshua Niehus wrote: Hello, I am running a script that creates a file which lists all the folders in a directory: foreach (string name; dirEntries(/Users/josh/, SpanMode.shallow)) { append(/Users/dirList.txt, name ~ \n); } But it seems to stop appending

Re: File append Limit

2011-08-05 Thread Joshua Niehus
@Kagamin What if foreach(i;0..512) { append(/Users/dirList.txt, text(line ,i,'\n')); } That works, but I misrepresented the problem and found that the following may be the issue (this looks more like the code im using): import std.conv, std.stdio; void main() { string[] strArr;