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