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
5.9 Reference operators
6.Branching
6.1 If instruction
6.2 One or two brances
6.3 Deeper and deeper
6.4 Goto instruction
6.5 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 Return
8.3 More about parameters
8.4 Global variables
8.5 Advanced access
9.Compile directives
9.1 Global defines
9.2 Include files
10.The Libraries
10.1 Default library
10.2 Math library
10.3 File library
10.4 Win library
11.Embedding applications
11.1 Scripting languages
11.2 The GS9 interpreter
11.3 A simple implementation
12.Annexes
12.1 ASCII table
12.2 Default library
12.3 Math library
12.4 File library
12.5 Win library