From Rosetta Code
This programming language may be used to instruct a computer to perform a task.
Official website
Execution method: Compiled (machine code)
Garbage collected: No
Parameter passing methods: By reference, By value
Type expression: Implicit
Lang tag(s): purebasic
See Also:

Listed below are all of the tasks on Rosetta Code which have been solved using PureBasic.
Your Help Needed
If you know PureBasic, please write code for some of the tasks not implemented in PureBasic.
PureBasic is an implementation of BASIC. Other implementations of BASIC.
PureBasic is a "high-level" programming language based on "BASIC" rules. PureBasic has been created for beginners and experts alike.

PureBasic is a portable programming language with current up to date implementations on Windows, Linux, and MacOS. The same code can be compiled and run natively on each OS. An older version for the Amiga platform is no longer maintained.

PureBasic was first released by Fantaisie Software in 2001. Since then the language is being improved and expanded continuously.


  • x86, x64, 680x0 and PowerPC support
  • Built-in arrays, dynamic linked lists, complex structures, pointers and variable definitions
  • Supported types: Byte (8 bits), Word (16 bits), Long (32 bits), Quad (64 bits), Float (32 bits), Double (64 bits) and Characters
  • User defined types (structures)
  • Built-in string types (characters), including ascii and unicode
  • Powerful macro support
  • Constants, binary and hexadecimal numbers supported
  • Expression reducer by grouping constants and numeric numbers together
  • Standard arithmetic support in respect of sign priority and parenthesis: +, -, /, *, and, or, <<, >>
  • Extremely fast compilation
  • Procedure support for structured programming with local and global variables
  • All Standard BASIC keywords: If-Else-EndIf, Repeat-Until, etc
  • Specialized libraries to manipulate BMP pictures, windows, gadgets, DirectX, etc
  • Specialized libraries are very optimized for maximum speed and compactness
  • The Win32 API is fully supported as if they were BASIC keywords
  • Inline Assembler
  • Precompiled structures with constants files for extra-fast compilation
  • Configurable CLI compiler
  • High productivity, comprehensive keywords, online help
  • System friendly, easy to install and easy to use

See Also[edit]


This category has the following 3 subcategories, out of 3 total.

Pages in category "PureBasic"

The following 543 pages are in this category, out of 543 total.