Add TextWriter, IOException, per-VM module data and pre-load imports; Add console module with Console class
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import 'console';
|
||||
class Program {
|
||||
public void main() {
|
||||
bool $res = system("echo OK");
|
||||
print("Result: ", $res);
|
||||
Console::Print("Result: " + $res);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user