Author: Bill Aitken
Date: June 2010
Turorial & Sources: http://www.seccia.org/tutorials/secciabasics02.zip
Introduction
All computer programs, to a greater or lesser degree, depend upon data. Customer names are entered into database systems, angles are provided to trigonometry functions in 3D games, grand totals are calculated on order forms – all these are examples of data storage and manipulation. Just about everything you do in Seccia will handle data in one form or another and it is important, now that we know how to use the Seccia IDE, to understand how to handle numbers and text. It’s also important to say that I do not intend replacing the Seccia documentation. I will show how to use the different data types by means of selected example functions but I will not cover all of them.
What Will We Learn?
In this tutorial, we’ll look at how we set up objects to handle the storage and manipulation of data. You will learn about:
- - Types of data objects
- How to create a data object
- Getting and setting the values of data objects
- Handling: Strings, Numbers, Values, Colours, Paths
