mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 21:21:33 +00:00
Support if without else.
This commit is contained in:
7
examples/if.pork
Normal file
7
examples/if.pork
Normal file
@ -0,0 +1,7 @@
|
||||
check = { value in
|
||||
if value then 50
|
||||
}
|
||||
|
||||
main = { in
|
||||
value = check(100)
|
||||
}
|
Reference in New Issue
Block a user