For faster navigation, this Iframe is preloading the Wikiwand page for PureBasic.

PureBasic

PureBasic
Logo
Ontwikkelaar(s) Fantaisie Software
Uitgebracht 1998
Recentste versie 6.01 LTS (7 maart 2023)[1] Bewerken op Wikidata
Status Actief
Besturingssysteem Windows, Unix, Mac OS X, AmigaOS
Categorie Programmeren
Licentie(s) Commercieel (closed source)
Website (de) (en) (fr) Officiële website
Portaal  Portaalicoon   Informatica

PureBasic, ontwikkeld door Frédéric Laboureur (Fantaisie Software, Frankrijk), is een commerciële compiler voor Windows, Linux, AmigaOS en Mac OS. De programma's zijn klein en snel, de syntaxis een mix tussen BASIC en C. Naast de vele krachtig geoptimaliseerde bibliotheken (GUI-gadgets, beeld, geluid, netwerk, database, compressie, cryptografie, ....) kan men rechtstreeks WinAPI aanspreken en Assembler-code gebruiken (Inline-Assembler). Bovendien is het mogelijk om een bibliotheek te schrijven. Verder biedt PureBasic sinds versie 3.5 een basale 3D-engine (OGRE 3D), waarmee het mogelijk is snel en eenvoudig kleine 3-D toepassingen te programmeren. Een essentieel voordeel vergeleken met andere programmeertalen is het bijzondere feit dat de taal doorlopend ontwikkeld wordt, steeds krachtiger wordt en dat nieuwe instructies de taal verder optimaliseren.

De aanschaf van PureBasic houdt automatisch in dat alle toekomstige updates gratis zijn in de vorm van downloads. Verdere kosten bij het verkopen van door u ontwikkelde programma's zijn er niet, geschreven programma's kunnen licentie-vrij verhandeld worden zonder rekening te hoeven houden met beperkingen van de kant van de fabrikant.

Op 4 november 2007 is versie 4.10 uitgebracht voor 3 platforms tegelijk: Windows, Linux en Mac OS. Het is de bedoeling dat het gelijktijdig uitbrengen van releases voor deze 3 platforms voortaan standaard wordt. AmigaOS wordt echter niet meer ondersteund.


  OpenConsole()              ;  opent de console
    Print("Hello world!")    ;  weergave van tekst in de console 
    Delay(3000)              ;  uitvoering programma wordt 3000 milliseconden gestopt
  CloseConsole()             ;  console weer sluiten


; PureBasic code (4.10) dat een klein simpel venstertje opent (zonder knoppen)
; in gecompileerde vorm (.exe) is de grootte slechts 10,5 KB (10.752 bytes)
  
If OpenWindow(1, 300, 300, 150, 50, "Voorbeeld 1", #PB_Window_SystemMenu)

  Repeat

    Variabele = WaitWindowEvent()

    Select Variabele
      Case #PB_Event_CloseWindow
        End
      Case #PB_Event_Gadget
    EndSelect 

  ForEver

EndIf


; PureBasic code kan ook heel wat korter:


If OpenWindow(2, 300, 300, 150, 50, "Voorbeeld 2", #PB_Window_SystemMenu)

  While WaitWindowEvent() <> #PB_Event_CloseWindow : Wend

EndIf
{{bottomLinkPreText}} {{bottomLinkText}}
PureBasic
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?