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
@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[] strAr
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 append
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
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 h