ps3: init

This commit is contained in:
2026-02-14 21:10:47 +01:00
parent 5e0f74c5b9
commit 3e99c78d9b
24 changed files with 1069 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
func callMe(i) {
println("i is now", i)
}
func main(start, end) {
var counter = start
while (counter < end) {
callMe(counter)
counter = counter + 1
}
// Go down again using while 1 + break
while (1) {
counter = counter - 1
if (counter < start)
break
callMe(counter)
}
}