From 184ce4621d9f94083f06ecfb2957683ca7513c19 Mon Sep 17 00:00:00 2001 From: Wang Renxin Date: Fri, 20 Oct 2017 14:38:04 +0800 Subject: [PATCH] *reformatted. --- sample/sample04.bas | 6 +++--- sample/yard/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sample/sample04.bas b/sample/sample04.bas index 8a0bfbd..412b579 100755 --- a/sample/sample04.bas +++ b/sample/sample04.bas @@ -7,17 +7,17 @@ begin: dim arr(n) gosub calc gosub show -end + end calc: arr(0) = 1 for i = 1 to n - 1 if i = 1 then arr(i) = 1 else arr(i) = arr(i - 1) + arr(i - 2) next -return + return show: for i = 0 to n - 1 print arr(i), ", " next -return + return diff --git a/sample/yard/README.md b/sample/yard/README.md index 7bf859e..c2f0173 100644 --- a/sample/yard/README.md +++ b/sample/yard/README.md @@ -2,7 +2,7 @@ **Copyright (C) 2011 - 2017 Wang Renxin. All rights reserved.** -"Yet Another RPG Dungeon" is a text based game. It's a simple comprehensive example and a tutorial which demonstrates lots of concepts of MY-BASIC. +"Yet Another RPG Dungeon" is a text based game. It's a simple comprehensive example and a tutorial which demonstrates lots of aspects of MY-BASIC. ### Usage