Welcome To pb Resources Site
 Home Online User Guide duplicated from http://cvs.purebasic.com  
 INTRODUCTION

Program Flow: Introduction and Requirements

Introduction

The purpose of this chapter is to describe how you can make your programs perform more useful tasks. This involves making decisions and repeating sections of instructions (loops). These are two of the lowest level features that make computers so good at performing general processing tasks, and are therefore quite important to understand. This is known as the program flow, which is simply another way of saying "in what sequence the instructions in your program are carried out".

In this chapter you will learn some more new oprators. You will then be taken through the different basic keywords for decision making and looping. A summary of the important points will be presented and you will be given exercises to practise your new knowledge. Examples will be provided throughout, along with example solutions to the exercises.

Requirements

Before proceeding with this chapter you should be familiar with the fundamentals of PureBasic, variables and the commands used for simple output.




Hosted by Reel Media Productions Copyright©2001-2004 All Rights Reserved