Navigation bar
  Start Previous page
 3 of 158 
Next page End  

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