# PBXB64 V15 Examples

This directory contains curated examples for every frontend included with
PBXB64 V15. The examples are grouped by language and topic and are intended as
small, practical starting points.

| Directory | Sources | Topics |
| --- | ---: | --- |
| `basic` | 12 | Startup, loops, floating point, strings, structures, variants, objects, GUIDs, wide strings, collections |
| `c` | 10 | Startup, statements, bitfields, complex numbers, variadic functions, math, H-Lib collections |
| `b64` | 10 | Results, decisions, loops, globals, calls |
| `asm` | 10 | Arithmetic, integration, directives, macros, string and SSE instructions |
| `cobol` | 19 | Data, arithmetic, I/O, linkage, strings, search, compute, and PB/BASIC bridging |
| `forth` | 8 | Stack operations, arithmetic, control flow, definitions, and data words |
| `logo` | 4 | Procedures, control flow, lists, arithmetic, and turtle graphics |
| `pilot` | 8 | Text, arithmetic, matching, subroutines, and PB/BASIC bridging |
| `rust` | 10 | Functions, expressions, arrays, closures, and methods |
| `spr` | 8 | Variables, control flow, utilities, registry access, and PB/BASIC bridging |

Compile an example from the V15 directory:

```batch
PBXB64 Examples\basic\01_getting_started\hello.bas -o hello.exe
PBXB64 -std=c17 Examples\c\01_getting_started\hello.c -o hello_c.exe
```

Some examples demonstrate a frontend's documented subset rather than the full
external language standard. Refer to `PBXB64_Help_EN.chm` or
`PBXB64_Help_DE.chm` for supported commands and syntax.
