Examples
class.prg
Demonstrates a class with a constructor and instance methods.
curl.prg
Demonstrates HTTP requests, response inspection, and file download with libcurl.
dbedit.prg
Demonstrates editing a DBF table in the terminal with DBEdit.
dbf7.prg
Demonstrates xDev 7 field names, memo data, and Polish UTF-8 text.
dbf7tocsv.prg
Converts a DBF table and its memo data to a spreadsheet-ready CSV file.
foreach.prg
Demonstrates FOR EACH over arrays, hash maps, and strings.
get.prg
Demonstrates terminal GET fields, validation, pictures, and resize handling.
greed.prg
Demonstrates an interactive game on a resizable terminal screen.
gui-sidebar.prg
Demonstrates guiSidebar with a page showing a guiMenu and a button at the bottom of the strip.
gui.prg
Demonstrates a GUI window with a menu, status clock, and changing background.
hash.prg
Demonstrates creating, searching, copying, merging, and deleting hash-map entries.
invoice.prg
Generates a sample Polish invoice as a PDF document.
json.prg
Demonstrates parsing, building, and serializing JSON data.
mytiff.prg
Demonstrates creating a window with MyTIFF widgets.
openssl.prg
Demonstrates hashes, encodings, encryption, key generation, and signatures.
pdf.prg
Demonstrates creating and saving an invoice PDF with libharu.
pdfart.prg
Demonstrates colorful vector artwork and effects in a PDF.
plugin/plugins/Invoice.prg
A DLL module of the plugin shell.
plugin/plugins/Payroll.prg
A DLL module of the plugin shell.
plugin/Shell.prg
A program that loads every DLL module of the folder plugins and starts it.
sidebar.prg
Demonstrates a keyboard- and mouse-driven terminal sidebar.
sliding-puzzle.prg
Demonstrates an interactive sliding puzzle on a resizable terminal screen.
snake.prg
Demonstrates an interactive Snake game in the terminal.
squares.prg
Demonstrates an interactive falling-blocks game in the terminal.
ssaver.prg
Demonstrates an animated terminal screensaver with colored circles.
svg.prg
Draw rounded shapes, arcs, sectors, paths and text in an SVG file.
tbrowse.prg
Demonstrates browsing tabular data with TBrowse.
test-xdev-hb.prg
Compares prime counting by trial division across xDev, Harbour, and Python.
tictactoe.prg
Demonstrates a two-player or computer tic-tac-toe game.
UTF-8-demo.txt
view.prg
Demonstrates browsing a text file in the terminal.
webgui-browse.prg
Demonstrates wgBrowse: a table of an array with a heading and a current row.
webgui-get.prg
Demonstrates wgGet: fields of text, a number, a date and a logical value with pictures.
webgui-menu.prg
Demonstrates wgMenu: a menu bar with items, shortcuts, a separator and a command of the bar.
webgui-sidebar.prg
Demonstrates wgSidebar and wgSplit: a strip of page pictures, panels with controls, and a split main area.
webgui.prg
Demonstrates wgWindow with controls in a column and a row: the page draws them, the program keeps the logic.
xedit.prg
Demonstrates editing a text file in the terminal.
xlisten.prg
Visualizes spectra and waterfalls from radio-telescope filterbank files.
xml.prg
Demonstrates XML parsing, DOM operations, and serialization.