📜 ⬆️ ⬇️

PureBasic - High Level BASIC

Hi, habrovchane!

I want to tell you about the programming language PureBasic. PureBasic is a powerful, compiled language based on the standard BASIC syntax. Designed to create stand-alone console and GUI applications, games, and many others for various platforms. The language has been developed for over 10 years and is constantly being improved.

The main feature of PureBasic is cross-platform. Currently supported operating systems: Windows, Linux, MacOS and AmigaOS. This means that the same code can be compiled quietly on different platforms, with little or no changes.

With the help of the PureBasic language you will write any program of any complexity. This language has a very simple syntax, at the same time striking in its functionality. Therefore, it is easily digested and suitable for novice programmers. However, there is a good arsenal of tools for experienced coders.
')
There is a visual window designer. The installed development environment takes about 25 MB, does not require serious settings and loads quickly. The program has only one small minus - it is paid. But it really doesn’t bother much, does it? ;)

The main features of PureBasic



Also in this BASIC it is very easy to implement assembler code, the FAsm compiler is used to process the code.

Example


I'll show you an example of “Hello, Habr”. Unfortunately, the code after the native habra editor does not look very nice, so I will attach a screenshot.

image

This program opens a window with text and a close button. Except for comments, all took 9 lines of code. The executable file is 13 KB.

image

From the official site you can download a demo version of the program. In the delivery comes a large number of examples.

* Free demo version limits code size to 800 lines and the inability to call OS API functions.

UPD : Article added.

Source: https://habr.com/ru/post/64457/


All Articles