diff --git a/README.md b/README.md index 06b27f3..9b379d1 100755 --- a/README.md +++ b/README.md @@ -35,13 +35,14 @@ MY-BASIC is a tiny cross-platform easy extendable BASIC interpreter written in p Come along with a traditional "hello world" script in MY-BASIC: + print "What is your name: " + input n$ + def foo(a, b) - print a + " " + b; + return a + " " + b + " by " + n$ + "." enddef - foo("Hello", "world!") - - input + print foo("Hello", "world"); Read the [MY-BASIC Quick Reference](MY-BASIC%20Quick%20Reference.pdf) (especially the "**Programming with BASIC**" section) to get more details about how to program in MY-BASIC.