my-basic/sample/sample05.bas
2017-11-20 12:43:44 +08:00

15 lines
245 B
QBasic
Executable File

REM This program is an example of MY-BASIC
REM For more information, see https://github.com/paladin-t/my_basic/
def area(a, b)
return call mul(a, b)
enddef
def mul(a, b)
return a * b
enddef
a = 3
b = 4
print a; b; area(a, b);