Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
16
Task/Loops-For/Objeck/loops-for.objeck
Normal file
16
Task/Loops-For/Objeck/loops-for.objeck
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
bundle Default {
|
||||
class For {
|
||||
function : Main(args : String[]) ~ Nil {
|
||||
DoFor();
|
||||
}
|
||||
|
||||
function : native : DoFor() ~ Nil {
|
||||
for (i := 0; i < 5; i += 1;) {
|
||||
for (j := 0; j <= i; j += 1;) {
|
||||
"*"->Print();
|
||||
};
|
||||
""->PrintLine();
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue