*polished readme.
This commit is contained in:
parent
0f93ac5969
commit
5522716f1c
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user