move to soml ending, new while example
This commit is contained in:
12
codes/a_while.soml
Normal file
12
codes/a_while.soml
Normal file
@ -0,0 +1,12 @@
|
||||
class Object
|
||||
|
||||
int main()
|
||||
int i = 5
|
||||
while_plus(i)
|
||||
"out".putstring()
|
||||
i = i - 1
|
||||
end
|
||||
return i
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user