热门问题
时间线
聊天
视角

PureBasic

来自维基百科,自由的百科全书

PureBasic
Remove ads

PureBasic是由Fantaisie Software所開發的商用BASIC程序語言整合開發環境(IDE)。特點是語法簡單直接,不依賴運行時庫,因此能編譯出相當小巧的程序,包含命令列GUI執行檔DLL等。而且不使用各系統的API,所以有高度的跨平台特性,支持Windows 32/64位元、Linux 32/64位元、Mac OS XAmiga

快速預覽 編程範型, 語言家族 ...
Remove ads

代碼範例

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

外部連結

Loading content...
Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads