In 3 Minuten starten - PBXB64 V23
PBXB64-V23-Einstiegsbeispiel, Kommandozeile und historische Ausgabe. Der vollständige Quelltext, die Ausgabe und der historische Zeitvermerk wurden aus der Übersicht hierher verschoben; diese Seite fügt keine neue Compiler- oder Funktionsprüfung hinzu.
Zur PBXB64-ÜbersichtEnglishIn 3 Minuten starten
PBX-Basic_10.zipherunterladen und entpacken.- Beispiel 1 unten als
hello.basspeichern. PBXB64.exe hello.bas -o hello.exeausführen, danachhello.exe.
Systemvoraussetzungen: Windows 10 64 Bit oder neuer, etwa 50 MB Plattenplatz (laut README im Paket).
Beispiel 1: Hallo, 64 Bit
#COMPILE EXE
#DIM ALL
FUNCTION PBMAIN() AS LONG
LOCAL p AS BYTE PTR
PRINT "Hello from PBXB64 - native 64-bit code!"
PRINT "SIZEOF(LONG) ="; SIZEOF(LONG) ' 8: LONG is 64-bit in PBXB64
PRINT "SIZEOF(INTEGER) ="; SIZEOF(INTEGER) ' 2: 16-bit since V23
PRINT "SIZEOF(QUAD) ="; SIZEOF(QUAD) ' 8
PRINT "SIZEOF(pointer) ="; SIZEOF(p) ' 8
FUNCTION = 0
END FUNCTIONAufruf: PBXB64.exe 01_hello.bas -o 01_hello.exe
Hello from PBXB64 - native 64-bit code!
SIZEOF(LONG) = 8
SIZEOF(INTEGER) = 2
SIZEOF(QUAD) = 8
SIZEOF(pointer) = 8Ein vollständiges Programm. LONG hat 64 Bit, INTEGER seit V23 16 Bit, Zeiger sind 8 Bytes groß.
Geprüft mit PBXB64 V23 (05.10.2026): übersetzt und ausgeführt, EXE mit 76.800 Byte, 410 ms Übersetzen und Linken.
Kommandozeilen-Spickzettel
PBXB64.exe src.bas -o out.exe compile to console EXE (default)
PBXB64.exe src.bas -o out.exe --gui GUI subsystem (or #CONSOLE OFF in source)
PBXB64.exe src.bas -S write assembly listing
PBXB64.exe src.bas -c write object file only
PBXB64.exe src.bas -g --pdb out.pdb -o out.exe debug info (path is required)
PBXB64.exe -I Includes src.bas -o out.exe add include folder
PBXB64.exe main.bas helper.c -o out.exe mix BASIC and C in one build
PBXB64.exe app.rc main.bas -o out.exe compile and embed resources
PBXB64.exe -std=c17 prog.c -o prog.exe C17 (Header eingebaut)
PBXB64.exe --version | --print-capabilities=jsonDie eine Compiler-Datei genügt, für BASIC wie für C17: Die C17-Header sind eingebaut.
PBXB64 ist Teil des PBX-Compiler-Pakets. Private Nutzung kostenlos, Business sauber lizenziert.