2GETTING STARTED

image

Now we’ll walk through some code step-by-step, so you can learn about the important pieces. As you read, enter the examples, and we’ll explain how to run them and modify them. But don’t stop there: experiment to give your programs a personal touch. We’ve included exercises at the end of each section to help you become a programming master (like a Jedi, but without the dangerous lightsabers). Try out the exercises to hone your skills.

The Parts of a Program

Let’s explore the different parts of a program by looking at a simple example. Listing 2-1 shows a program similar to the Greetings.sb program you wrote in Chapter 1. Enter ...

Get Learn to Program with Small Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.