Revision 21545654 of "RBasic" on zhwiki{{notability|time=2012-06-12T07:44:31+00:00}}
{{Unreferenced|time=2012-06-12T07:44:03+00:00 }}
{{Infobox Software
|title = Redboy BASIC
|name = Redboy BASIC
|paradigm = [[结构化程序设计|结构化]]
|year = 2007
|latest release version = 1.0
|latest release date = 2007-08-13
|influenced_by = [[BASIC]],[[QBASIC]]
|influenced = [[NDS RBASIC]]
|developer = [[悟會]]
|operating system = [[J2ME]]
|genre = [[解释器]]
|license = 封閉原始碼
}}
'''RBasic''',全称'''Redboy BASIC''',是一个手机[[JAVA]]版的[[BASIC]][[解释器]],但作者制作了[[C语言]]编写的PC版本,目前没有发布。[[NDS]]版本正在筹划中。
以下是RBasic下的 [[Hello World]] 实现:
CLS
PRINT "Hello, word!"
END
== RBASIC 与 [[QBASIC]] 的不同 ==
RBASIC允許程序員在特殊需要的情況下(如[[GOTO]]語句),爲語句添加標簽,標簽的格式爲@XXX,其中XXX可以是任意字母或者數字,標簽出現在語句的最前面,如上述程序的第二行,可以寫爲:
@PLINE PRINT "Hello, word!"
RBASIC程序中,所有以REM開頭的代碼行將被解釋器理解爲注釋而不被執行。
RBASIC只支持三種數據類型:整數,實數,字符串。
RBASIC支持的最大數組維數爲1。
允许以FUN作为Function关键字的缩写。
另外增加了许多图形函数。
详细参见RBasic官方网站。
== 外部链接 ==
*[http://hi.baidu.com/bpns/blog/category/Rbasic RBasic官方网站]
{{程序设计语言}}
[[Category:集成开发环境]]
[[Category:Basic 解释器]]
[[Category:BASIC]]All content in the above text box is licensed under the Creative Commons Attribution-ShareAlike license Version 4 and was originally sourced from https://zh.wikipedia.org/w/index.php?oldid=21545654.
![]() ![]() This site is not affiliated with or endorsed in any way by the Wikimedia Foundation or any of its affiliates. In fact, we fucking despise them.
|