7 lines
128 B
Text
7 lines
128 B
Text
|
-- demonstrates string patterns
|
||
|
|
||
|
f("hi") -> "hello to you too!".
|
||
|
f("bye") -> "goodbye!".
|
||
|
|
||
|
putstrln(f("hi")).
|
||
|
putstrln(f("bye")).
|