跳转到内容
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Help
Browse
Cookbook
Wikijunior
Featured books
Recent changes
Random book
Using Wikibooks
Community
Reading room forum
Community portal
Bulletin Board
Help out!
Policies and guidelines
Contact us
Search
Search
Donations
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Discussion for this IP address
目录
移动到侧边栏
隐藏
开始
1
解释:
切换目录
GLBasic 编程/BASIC/你的第一个程序
Add languages
Add links
Book
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Sister projects
Wikipedia
Wikiversity
Wiktionary
Wikiquote
Wikisource
Wikinews
Wikivoyage
Commons
Wikidata
MediaWiki
Meta-Wiki
Print/export
Create a collection
Download as PDF
Printable version
In other projects
外观
移动到侧边栏
隐藏
来自维基教科书,自由的教科书
<
GLBasic 编程
要编写你的第一个程序,创建一个新文件并输入以下内容
CLEARSCREEN PRINT "Hello, world!", 100, 100 SHOWSCREEN KEYWAIT END
解释
[
编辑
|
编辑源代码
]
CLEARSCREEN
清除屏幕
PRINT
显示引号之间的所有内容,并将其放置在 x100, y100 位置
SHOWSCREEN
显示上面键入的所有内容
KEYWAIT
使程序等待直到按下键(您也可以使用
MOUSEWAIT
)
END
在此停止程序
索引
下一步:BASIC/PRINT、CLEARSCREEN 和 END
类别
:
书籍:GLBasic 编程
华夏公益教科书