*polished readme.

This commit is contained in:
Wang Renxin 2015-09-17 18:32:22 +08:00
parent 0f93ac5969
commit 5522716f1c

View File

@ -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: Come along with a traditional "hello world" script in MY-BASIC:
print "What is your name: "
input n$
def foo(a, b) def foo(a, b)
print a + " " + b; return a + " " + b + " by " + n$ + "."
enddef enddef
foo("Hello", "world!") print foo("Hello", "world");
input
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. 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.