Add TextWriter, IOException, per-VM module data and pre-load imports; Add console module with Console class
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#!/usr/local/bin/aer
|
||||
import 'console';
|
||||
class Program {
|
||||
|
||||
/*
|
||||
@@ -6,7 +7,7 @@ class Program {
|
||||
* It does not take any arguments.
|
||||
*/
|
||||
public void main() {
|
||||
print('Hello world!'); // single line comment
|
||||
Console::Print('Hello world!'); // single line comment
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user