xBasic
xbasic is a metalanguage that helps you produce MSX-BASIC code more easily and efficiently.
Example 1:
goto Start
:SayHello
print "Nice to meet you ";a$;"! How're you doing?"
return
:AskForName
print "Hello! What is your name?"
input a$
return
:Start
print "This is a test program."
gosub AskForName
gosub SayHello
end
Example 2:#include defaults
:init
screen ScreenMode.MultiColor, SpriteSize.16x16.Large, ClickSwitch.Off
width 40
color Color.White, Color.Black, Color.Black
key off
Download from https://github.com/leandrinux/xbasic
Example 1:
goto Start
:SayHello
print "Nice to meet you ";a$;"! How're you doing?"
return
:AskForName
print "Hello! What is your name?"
input a$
return
:Start
print "This is a test program."
gosub AskForName
gosub SayHello
end
Example 2:#include defaults
:init
screen ScreenMode.MultiColor, SpriteSize.16x16.Large, ClickSwitch.Off
width 40
color Color.White, Color.Black, Color.Black
key off
Download from https://github.com/leandrinux/xbasic