Add system module with System class, core native exception helper and remove useless builtins
Build / AerScript (push) Successful in 50s
Build / AerScript (push) Successful in 50s
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'system';
|
||||
import 'console';
|
||||
class Program {
|
||||
|
||||
@@ -12,11 +13,11 @@ class Program {
|
||||
|
||||
public void main() {
|
||||
for(int $i = 1; $i < 3; $i++) {
|
||||
Console::Print($i + $this->cycle('a', 'b') + PHP_EOL);
|
||||
Console::Print($i + $this->cycle('a', 'b') + System::NEW_LINE);
|
||||
for(int $j = 1; $j < 5; $j++) {
|
||||
Console::Print(' ' + $j + $this->cycle('a', 'b', 1) + PHP_EOL);
|
||||
Console::Print(' ' + $j + $this->cycle('a', 'b', 1) + System::NEW_LINE);
|
||||
for(int $k = 1; $k < 3; $k++) {
|
||||
Console::Print(' ' + $k + $this->cycle('c', 'd', 2) + PHP_EOL);
|
||||
Console::Print(' ' + $k + $this->cycle('c', 'd', 2) + System::NEW_LINE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user