From f439c7828ee55734b4cf8d43ddc60b498bddd614 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Tue, 22 Sep 2015 14:10:45 +0800 Subject: [PATCH] *updated readme. --- README.md | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index e9f864d..e06de56 100755 --- a/README.md +++ b/README.md @@ -34,14 +34,16 @@ MY-BASIC is a lightweight cross-platform easy extendable BASIC interpreter writt Come along with a traditional "hello world" script in MY-BASIC: - print "What is your name: " - input n$ +~~~~~~~~~~bas +print "What is your name: " +input n$ - def foo(a, b) - return a + " " + b + " by " + n$ + "." - enddef +def foo(a, b) + return a + " " + b + " by " + n$ + "." +enddef - print foo("Hello", "world"); +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.