Pure Basic Reference Manual (original) (raw)

The PureBasic IDE

Getting started
Working with files
Editing features
Managing projects
Compiling your programs
Using the debugger
Form designer
Using the debugging Tools
Built-in Tools
External Tools
Getting help
Customizing the IDE
IDE Command-line options

We start programming

User guide - Overview

General Topics

Using the command line compiler
General Syntax Rules
Variables, Types and Operators

Basic Keywords

Break : Continue
For : Next
ForEach : Next
Gosub : Return
If : Else : EndIf
Repeat : Until
Select : EndSelect
While : Wend
Others

Arrays, Lists & Structures

Define
Dim : ReDim
Enumeration : EndEnumeration
Interface : EndInterface
Module : EndModule
NewList
NewMap
Structure : EndStructure
With : EndWith

Procedure Support

Global
Procedure : EndProcedure
Protected
Shared
Static

Advanced Keywords

Import : EndImport
Macro : EndMacro
Prototype
Pseudotype
Runtime
Threaded

Various Topics

PureBasic objects overview
Handles and Numbers
Pointers and Memory access
Data
Debugger Commands
'Include' Functions
Compiler Directives
Compiler Functions
Inlined x86 ASM
Building a DLL
Unicode
Subsystems
Residents
Several PureBasic versions at once
Migrating from an old version of PureBasic

Legal Information

License file for PureBasic applications (without using 3D engine commands)
License file for the 3D engine integrated with PureBasic

Additional Information

Number bases / Table
ASCII-Codes and their figures
Mathematical formulas
Color table
Port numbers (for internet)
Useful Internet links about PureBasic

General Libraries

2D Drawing
Array
AudioCD
CGI
Cipher
Clipboard
Console
Database
Date
Debugger
Desktop
Dialog
Drag & Drop
File
FileSystem
Ftp
Font
Gadget
Help
Http
Image
ImagePlugin
JSON
Library
List
Mail
Map
Math
Memory
Menu
Movie
Network
OnError
Packer
Preference
Printer
Process
Regular Expression
Requester
Runtime
Scintilla
Serial Port
Sort
StatusBar
String
System
SysTray
Thread
Toolbar
VectorDrawing
WebView
Window
XML

2D Games & Multimedia Libraries

Joystick
Keyboard
Mouse
Music
Screen
Sprite
Sound
SoundPlugin

3D Games & Multimedia Libraries

Engine3D
Billboard
Camera
Entity
Entity Animation
Gadget 3D
Joint
Light
Material
Mesh
Node
Node Animation
Particle
Skeleton
Sound 3D
Special Effect
Spline
Static Geometry
Terrain
Text 3D
Texture
Vehicle
Vertex Animation
Window 3D

Overview

Commands Index
PureBasic Constants
Platform-dependant Functions