跳轉到內容
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 程式設計
華夏公益教科書