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