mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
language: implement for in
This commit is contained in:
7
examples/for.pork
Normal file
7
examples/for.pork
Normal file
@ -0,0 +1,7 @@
|
||||
let items = ["Hello", "Goodbye"]
|
||||
|
||||
export func main() {
|
||||
for item in items {
|
||||
println(item)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user