mirror of https://github.com/japl-lang/japl.git
14 lines
177 B
Plaintext
14 lines
177 B
Plaintext
|
//[Test: functions without parentheses]
|
||
|
//[source: mixed]
|
||
|
fun sayhi {
|
||
|
print("hi");
|
||
|
}
|
||
|
fun saybye {
|
||
|
print("bye");
|
||
|
}
|
||
|
|
||
|
sayhi();//stdout:hi
|
||
|
saybye();//stdout:bye
|
||
|
//[end]
|
||
|
//[end]
|