维基百科
PureBasic
此條目需要擴充。 (2015年10月3日) |
此條目没有列出任何参考或来源。 (2015年10月3日) |
PureBasic是由Fantaisie Software所開發的商用BASIC程序语言及整合開發環境(IDE)。特點是語法簡單直接,不依賴运行时库,因此能編譯出相當小巧的程序,包含命令列或GUI執行檔、DLL等。而且不使用各系統的API,所以有高度的跨平台特性,支持Windows 32/64位元、Linux 32/64位元、Mac OS X、Amiga。
代碼範例 编辑
CompilerIf #PB_Compiler_OS = #PB_OS_Windows ProcedureDLL AttachProcess(Instance) EndProcedure ProcedureDLL DetachProcess(Instance) EndProcedure ProcedureDLL AttachThread(Instance) EndProcedure ProcedureDLL DetachThread(Instance) EndProcedure CompilerEndIf ProcedureDLL Test(Message$) MessageRequester("Test!", Message$) EndProcedure
外部連結 编辑
- PureBasic官方網站(页面存档备份,存于互联网档案馆)
- ^ PureBasic 6.01 LTS. 2023年3月7日 [2023年4月12日].