PowerBASIC
维基百科,自由的百科全书
| PowerBASIC | |
|---|---|
|
发行时间
|
1996年? |
| 最新发行时间 | 10.0(2011年1月29日) |
|
主要實作產品
|
PowerBASIC |
|
啟發語言
|
BASIC |
| Windows, DOS | |
| PowerBASIC: Basic Compilers | |
PowerBASIC 由位於美國佛羅里達州威尼斯的 PowerBASIC 公司所製作,為一種 BASIC 編譯器,分別擁有 DOS 版本及 Windows 版本(其中又有命令行版本及圖形界面開發版本)。DOS 版本使用的語法類似 QBasic 和 QuickBASIC,而 Windows 版本則類似其他程式編譯器,結合標準 BASIC 語言和 API 調用。最早發布的版本被稱作 BASIC/Z,之後由 Borland 發行時叫做 Turbo BASIC。1989年 Borland 不再販售 Turbo BASIC 與 Turbo Pascal,Turbo BASIC 由原開發者成立公司,而以 PowerBASIC 為名繼續發行。[1]
目录 |
語言特色 [编辑]
PowerBASIC 的 Windows 版本並沒有類似 Visual Basic 的圖形開發界面,取而代之的是一個包含調試工具的純文字開發界面,但官方及其他團體均有提供另外開發的圖形開發界面以解決文字開發界面的不足,例如官方開發的 PowerBASIC Forms 及 HelloBasic.com 開發的 PwrDev Developer 等等。 PowerBASIC 能編譯出機器代碼,即不需要運行庫的程式,並以編譯得出程式的體積小與運行速度快作為招徠,試圖擺脫過往 BASIC 語言運行速度慢的特點,其運行速度甚至比當今流行的語言仍要快,例如 Visual Basic, C++。[2]同時 PowerBASIC 支援開發更多範疇的程序,例如DLL,控制台程式甚至驅動程式。
版本更新 [3] [编辑]
| 版本 | 發佈日期 | 主要更新內容 | 後續更新 |
|---|---|---|---|
| PB/WIN 7.0 | 2003年5月5日[4] | --- | 於2003年5月29日更新 7.02 版本。[5] |
| 於2004年4月15日更新 7.03 版本。[6] | |||
| 於2004年5月10日更新 7.04 版本。[7] | |||
| PB/WIN 8.0 | 2005年3月18日[8] | --- | 於2006年9月21日更新 8.02 版本。 |
| 於2006年11月20日更新 8.03 版本。[9] | |||
| 於2007年10月9日更新 8.04 版本。[10] | |||
| PB/WIN 9.0 | 2008年8月12日[11] |
|
於2009年3月3日更新 9.01 版本。[12] |
| 於2009年10月8日更新 9.02 版本。[13] | |||
| 於2010年1月6日更新 9.03 版本。[14] | |||
| 於2010年3月15日更新 9.04 版本。[15] | |||
| 於2010年7月30日更新 9.05 版本。[16] | |||
| PB/WIN 10.0 | 2011年1月29日[17] | 尚未有版本更新。 |
代碼範例 [编辑]
- 編寫靜態連結庫的範例代碼:
'編譯為 conversion.sll 檔案 #COMPILE SLL "conversion.sll" #DIM ALL '由毫米換算成吋的函數 FUNCTION MillimetersToInches(BYVAL mm AS DOUBLE) COMMON AS DOUBLE FUNCTION = mm * 0.03937# END FUNCTION
参考文献 [编辑]
- ^ PowerBASIC makes smooth move; Tech company finds region's affordability attractive.. Sarasota Herald Tribune (October , 2000). [2008-03-12].
- ^ PowerBASIC 官方介紹
- ^ 版本更新資料來源:PowerBASIC 官方論壇產品發佈頁
- ^ Free Updates to PB/CC 3 and PB/Win 7.0 - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 3 and PB/Win 7 (x.02 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 3 and PB/Win 7 (x.03 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 3 and PB/Win 7 (x.04 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 4, PB/Win 8, and PB/Forms 1.5 - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 4 and PB/Win 8 (x.03 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 4 and PB/Win 8 (x.04 release) - PowerBASIC Peer Support Forums
- ^ Release of PowerBASIC 9.0 for Windows - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 5 and PB/Win 9 (x.01 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 5 and PB/Win 9 (x.02 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 5 and PB/Win 9 (x.03 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 5 and PB/Win 9 (x.04 release) - PowerBASIC Peer Support Forums
- ^ Free Updates to PB/CC 5 and PB/Win 9 (x.05 release) - PowerBASIC Peer Support Forums
- ^ PB/Win 10 & PB/CC 6 -- What's new? - PowerBASIC Peer Support Forums
外部連結 [编辑]
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||