Linux: 5:22 (27 February 2014) Mac OS X: 5:22 (27 February 2014) AmigaOS: 4.00 (10 December 2006)
PureBasic is a programming language based on BASIC. The key features are portability (currently are Microsoft Windows, Linux, Mac OS X and AmigaOS completely partially supported), the production of very fast programs and the easy -to-learn BASIC syntax. In addition PureBasic provides a large amount of library functions that are very clear and simple. This PureBasic is suitable for beginners as well as experts. Despite the beginner-friendly syntax make the advanced options, such as pointers, structures, procedures, dynamically linked lists and PureBasic a versatile programming language. The use of in-line assembler for time-critical code sections is possible.
- Extensive standard library. For example, for GUI gadgets, graphics, sound, network, database, compression, cryptography, and a v.
- Expandable functionality through self-created libraries.
- Development environment with integrated 32- bit or 64 -bit compiler that supports inline assembler.
- The integrated development environment includes a visual designer in versions for Linux and Windows.
- Created applications need no external DLLs or other external resources.
- Procedure support for structured programming with local and global variables
- Full access to the programming interface (API) of the operating system being used.
- Simple realization of 2D and 3D games thanks to integrated libraries possible (DirectX, SDL, OGRE ).
The PureBasic inventor Frederic Laboureur wrote in the late 1990s for the Amiga version of Blitz Basic many additional commands in 68000 assembler ( assembly language for the Motorola 68000 family). Da Blitz Basic was some years before officially set for the Amiga, he developed together with Roger Beausoleil the first compiler, which took the written for Blitz Basic commands. This compiler supported even then different processor architectures ( first code generation for PowerPC and 680x0 ). He was later ported to the supported today systems Windows, Linux and Mac OS X. The result was PureBasic. First Laboureur wanted his language Phoenix baptized. However, he rejected the idea because he feared that users would not find this name without the appendage BASIC in search engines. Then he wanted to call it PowerBASIC. But this name was already taken for another programming language. In the end, Laboureur opted for PureBasic. By pure ( German clear, pure ) he wants to express that PureBasic easy to understand and easy to apply. The first version of PureBasic that will not bore the beta status, appeared on 17 December 2000. Since 4 November 2007, the version 4.10 is available for Windows, Linux and Mac OS X, with which it is possible for the first time, regardless of the to access operating system on the entire instruction set of PureBasic, which simplifies the portability of the source code.
PureBasic must be approved for each user (licensed) are. This means that a user can set with the purchase of a so-called license PureBasic on any computer. A PureBasic license applies for all supported platforms, so it is not tied to a development platform. However, the license may not be shared between several people. The license for PureBasic is thus for all ( other than the manufacturer ) not free ( proprietary). The only exceptions are the standard libraries of version for AmigaOS, which are open source and freely available as open source. A special feature of the license is the right therein to lifetime free updates to new versions.
The following code provides a simple PureBasic program that prints the message in an alert window "Hello world! "
MessageRequester ( " message ", " Hello World !") The output on Windows:
The following three commands give "Hello world! " In the command window:
Open Console ( ) Print (" Hello World !") Input (); waits for pressing the [ Enter] key issue:
The integrated development environment of PureBasic is composed in addition to many useful tools from a text editor, compiler, debugger and a visual designer. Syntax highlighting, code folding, line numbering and more is supported by the use of the Scintilla editor component. In addition, the development environment can be individually adapted to your own needs. So you can for example define your own colors for syntax highlighting or integrate third-party tools in the development environment.