TABLE OF CONTENT
A Programming Language Manual
1.Introduction
1.1 What is GS9 ?
1.2 Why another programming language ?
1.3 How to read this book ?
1.4 The GS9 console
2.A simple program
2.1 "Hello World!"
2.2 The Structure of GS9 Programs
3.Constants and variables
3.1 About values and types
3.2 Storing data
3.3 Basic data types
3.4 Special data types
4.Other numeric formats
4.1 Binary numbers
4.2 Hexadecimal numbers
4.3 ASCII characters
5.Operators and expressions
5.1 What are they?
5.2 Logic operators
5.3 Arithmetic operators
5.4 Bit operators
5.5 Assignment operators
5.6 Relational operators
5.7 Conditional expression operator
5.8 Indexing operators
6.Branching
6.1 If instruction
6.2 One or two brances
6.3 Deeper and deeper
6.4 Switch instruction
6.5 Goto instruction
6.6 Latent stop
7.Looping
7.1 Repeat, please!
7.2 While instruction
7.3 Do while instruction
7.4 For instruction
7.5 Break and continue
8.Functions
8.1 About functions
8.2 Returned values
8.3 More about parameters
9.Globals
9.1 Global variables
9.2 Constants
9.3 Advanced access
10.Compile directives
10.1 Include files
10.2 Namespaces
11.The Libraries
11.1 Default library
11.2 Strings library
11.3 Tables library
11.4 Files library
11.5 Memory library
11.6 Math library
11.7 System library
11.8 Image library
12.Embedding applications
12.1 Scripting languages
12.2 The GS9 interpreter
12.3 A simple implementation
12.4 C++ objects access
13.Annexes
13.1 ASCII table
13.2 Default library
13.3 Strings library
13.4 Tables library
13.5 Files library
13.6 Memory library
13.7 Math library
13.8 System library
13.9 Image library