Skip to main content

Running the Sample Code

This course includes runnable BBj sample files organized by chapter. Here's how to use them.

Prerequisites

  • BBj installed and configured (see Getting Started for setup instructions)
  • Access to the BBj IDE or command-line interpreter

Where to Find Samples

Sample files are organized in the samples/ directory at the root of this repository, grouped by chapter number:

samples/
├── 01-introduction/
├── 02-getting-started/
├── 03-object-oriented/
├── ...
└── 12-web-development/

Running a Sample

From the BBj IDE

  1. Open the BBj IDE
  2. Use File > Open to navigate to the sample .bbj file
  3. Click Run or press F5

From the Command Line

bbj path/to/sample.bbj
tip

Sample files are self-contained and can be run independently. Each file includes comments explaining what it demonstrates.

note

Sample files will be added as each chapter is written. Chapters marked "Under Development" do not yet have sample code.