Just playing and having fun...
This commit is contained in:
parent
84ef262588
commit
6cf1afcde6
1 changed files with 11 additions and 5 deletions
16
play.fun
16
play.fun
|
|
@ -9,16 +9,22 @@
|
||||||
* https://opensource.org/license/isc-license-txt
|
* https://opensource.org/license/isc-license-txt
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
fun foo()
|
||||||
|
print("Have fun!")
|
||||||
|
print("Having fun... forever.")
|
||||||
|
|
||||||
print("Yay, the playground for having fun... ;)")
|
print("Yay, the playground for having fun... ;)")
|
||||||
|
|
||||||
number n = 10
|
number n = 10
|
||||||
print(n)
|
print(n)
|
||||||
|
|
||||||
string s = "Hello,\nworld!"
|
n = "foobar"
|
||||||
|
print(n)
|
||||||
|
|
||||||
|
n = 100
|
||||||
|
print(n)
|
||||||
|
|
||||||
|
string s = 'Have\n"fun!"'
|
||||||
print(s)
|
print(s)
|
||||||
|
|
||||||
fun foo()
|
|
||||||
print("Have fun!")
|
|
||||||
print("Running foo()... forever.")
|
|
||||||
|
|
||||||
foo()
|
foo()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue