[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] fixed: File-getLine / prFileReadLine
fixed File-getLine / prFileReadLine
in PyrFilePrim.cpp
primitive num args define was wrong.
also changed:
getLine { arg maxSize=1024;
var string;
string = String.newClear(maxSize);
this.prGetLine(string);
^string
}
prGetLine { arg argString;
// returns a string up to lesser of next newline
// or length-1 of the argument string
_FileReadLine;
^this.primitiveFailed;
}
so it works as it always did.
-felix