Simple Processing: Introduction and Requirements

Introduction

The previous chapter described how to create variables of various types, which are used to store and manipulate data as your programs run. This chapter will move onto the next step and show you how to perform the manipulation of variables.

The simplest manipulations of variables is performed using operators. Operators are built into the language and allow you to carry out mathematical and logical operations. Operators are represented by one or two special characters in your source codes.

This chapter will also introduce you to some more useful commands which will be used to display what is stored in your variables.

Once you have read through this chapter you will find that there are some exercises which you can use to test your new knowledge of variables and to further practise using PureBasic.

Requirements

Before reading this chapter you should be familiar with the chapter on variables. You should also know the typical commands used during the early stages of this User Guide (for working with the console and displaying text to the user). You should have PureBasic installed and working.