← Types, control flow, and imports
Commands
Types, control flow, and imports
Build and run this example
mkdir -p build
./zig-out/bin/zp64c compile docs/tutorial-examples/counter-width.zp64 -o build/counter-width.prg
x64sc -autostart build/counter-width.prg
Build and run
mkdir -p build
./zig-out/bin/zp64c compile docs/tutorial-examples/colors.zp64 -o build/tutorial-colors.prg
x64sc -autostart build/tutorial-colors.prg
Build and run this example
mkdir -p build
./zig-out/bin/zp64c compile docs/tutorial-examples/indexed-update.zp64 -o build/indexed-update.prg
x64sc -autostart build/indexed-update.prg
Build and run this example
mkdir -p build
./zig-out/bin/zp64c compile examples/small/18_switch_dispatch.zp64 -o build/switch-dispatch.prg
x64sc -autostart build/switch-dispatch.prg
Build and run this example
mkdir -p build
./zig-out/bin/zp64c compile examples/small/29_module_rodata_assets.zp64 -o build/imported-assets.prg
x64sc -autostart build/imported-assets.prg
Build and run this example
mkdir -p build
./zig-out/bin/zp64c compile docs/tutorial-examples/record-layout.zp64 -o build/record-layout.prg
x64sc -autostart build/record-layout.prg