Navigation bar
  Start Previous page
 3 of 156 
Next page End 1 2 3 4 5 6 7 8  

1
Table of Contents
Chapter 1 - Introduction..............................................................................................................
1
............................................................................................
3
1.2 The ZX- Series Microcontrollers....................................................................................
3
1.3 Conventions......................................................................................................................
4
Chapter 2 - ZBasic Language Elements..................................................................................
5
2.1 Identifiers...........................................................................................................................
5
2.2 Data Types........................................................................................................................
5
.............................................................................................................................
6
2.3.1 The Options Section................................................................................................
6
2.3.2 The Definitions Section.........................................................................................12
.....................................................................................................13
Defining Variables.......................................................................................................14
.....................................................................................14
Defining Subroutines..................................................................................................15
Defining Functions......................................................................................................17
....................................................................................................................19
2.4.1 Operator Precedence............................................................................................19
...........................................................................................20
.............................................................................................21
..................................................................................................21
2.4.5 Comparison Operators..........................................................................................21
2.4.6 Miscellaneous Operators......................................................................................22
...............................................................................22
2.5 Statements......................................................................................................................22
2.5.1 Assignment Statement..........................................................................................22
2.5.2 Call Statement........................................................................................................23
...............................................................................................23
2.5.4 Console.Write and Console.WriteLine Statements..........................................24
2.5.5 Debug.Print Statement..........................................................................................25
2.5.6 Do-Loop Statement and Variants........................................................................25
........................................................................................................26
...............................................................................................27
......................................................................................................29
2.5.10 If-Then-Else Statement.......................................................................................29
2.5.11 Select-Case Statement.......................................................................................30
......................................................................................................32
2.5.13 While-Wend Statement.......................................................................................32
....................................................................................................33
.............................................................................................................................33
Previous page Top Next page