mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 05:10:55 +00:00
language: implement let definitions
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
let count = 5
|
||||
|
||||
export func main() {
|
||||
var x = 1
|
||||
while x <= 5 {
|
||||
while x <= count {
|
||||
println(x)
|
||||
x = x + 1
|
||||
x++
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user