热门问题
时间线
聊天
视角

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