Familiar PowerBASIC style. Developed for greater resilience.
Scharffbasic is a mostly PowerBASIC-compatible 32-bit alternative for native Windows programs. Existing BASIC source can often be reused directly, while additional language features and more robust compiler diagnostics open a practical path forward.
V1 Beta is intended for developers who want to preserve, test, and gradually modernize classic 32-bit projects. The beta label is deliberate: compatibility is broad, but not yet complete in every edge case.
Download Scharffbasic V1 Beta English CHM helpFor pragmatic work on 32-bit BASIC projects
Broad compatibility without a false completeness claim
The focus is practical source compatibility with PowerBASIC for Windows. Many programs can compile directly or after small adjustments. Rare language forms, libraries, or runtime assumptions may still differ in this beta.
Important for SLL libraries
Existing SLL binaries built with PowerBASIC cannot be used directly with Scharffbasic programs.
To use a PowerBASIC SLL with Scharffbasic, recompile its original PowerBASIC source with Scharffbasic. The host application and every related SLL should then be tested and shipped together from the same compiler line. The #COMPILE SLL language mechanism and common procedures remain available.
Additional commands for current projects
JESCAPE$, JSLASH$, JSTRING$, JUNESCAPE$, and JUNQUOTE$ extend string processing./Q, /L, /C, /I, /D, /T:n, and /ASMOUT support repeatable builds and diagnostics.Find the source problem instead of losing the compiler
The bundled help documents compiler diagnostics and maps error messages to relevant language areas. The goal is a controlled stop with an actionable cause, allowing developers to correct the source instead of investigating an unexpected compiler exit without context.
This is an engineering objective, not a promise that a beta behaves flawlessly for every possible input. Reproducible problem cases are especially valuable for continued hardening.

Hanns Scharff: treating people with respect
The name refers to Hanns Scharff (1907-1992), a German Luftwaffe interrogator during the Second World War. He became known for a rapport-based approach without physical violence: listening, organizing known information carefully, and treating prisoners as human beings.
While and after the war, Scharff worked as a mosaic artist. Programming is a similar craft: individual commands are carefully placed like mosaic stones until they form a coherent, working program.
Impact on modern interrogation
The High-Value Interrogation Group was established in 2009 and has investigated Scharff's techniques. The FBI and others have now adopted the technique, and research of the technique funded by the High-Value Interrogation Group was published in 2015.
This is an AI-generated historical illustration, not an original photograph. Sources: biography and modern impact, research on the Scharff technique, and Raymond F. Toliver's book The Interrogator: The Story of Hanns-Joachim Scharff, developed from Scharff's memoir material.
Test V1 Beta
ScharffBASIC.exe and the English ScharffBASIC_Feature_Guide.chm.More compilers
PBXB64 remains the primary download product for the 64-bit compiler line. Scharffbasic adds a separate 32-bit beta to the workshop.
PBXB64 V14View all compilersDownload Activity
Daily activity for every offered download in the current month. Each downloadable file has its own persistent color.