This code:
import flash.utils.byteArray;
function getChar() {
if (System.isStdinEmpty())
return "";
var stdinData: ByteArray = System.stdinRead(1);
return String(stdinData[0]);
}
gives this error when compiled in this way:
C:\Projects\tamarin\redtamarin>java -jar l/asc.jar -AS3 -import l/builtin.abc
-import l/toplevel.abc actionscriptexamples.as
[Compiler] Error #1046: Type was not found or was not a compile-time constant:
ByteArray.
actionscriptexamples.as, Ln 232, Col 19:
var stdinData: ByteArray = System.stdinRead(1);
..................^
1 error found
Original issue reported on code.google.com by thegar...@gmail.com on 17 Jul 2011 at 4:57
Original issue reported on code.google.com by
thegar...@gmail.com
on 17 Jul 2011 at 4:57