Orb Programming Language

Quick examples

These sections contain several example programs written in Orb. They can give you an idea of how to code in Orb, though they may not make perfect sense until you’ve read the programming guide.

If you’ve installed orbc, you can compile and run a program by copying the example code into .orb files and running this from the command line:

orbc main.orb
./main

Use the left and right arrows to navigate this site. You may also use the sidebar.