Start Back Next End
  
ZBasic Language Reference
iv
ZBasic Microcontrollers
..............................................................................................................18
Option Objects..............................................................................................................18
Option Overload...........................................................................................................18
Option Namespaces....................................................................................................19
Option NameStyle........................................................................................................19
Option CodeType.........................................................................................................19
Option Library...............................................................................................................19
.....................................................................................................20
........................................................................................20
2.3.2 The Definitions Section..........................................................................................20
......................................................................................................21
Defining Variables........................................................................................................21
Defining Arrays of Variables.......................................................................................22
Defining Subroutines...................................................................................................23
Defining Functions.......................................................................................................25
.....................................................................................................................27
2.4.1 Operator Precedence.............................................................................................27
............................................................................................28
..............................................................................................28
2.4.4 Logical Operators....................................................................................................29
2.4.5 Comparison Operators...........................................................................................29
2.4.6 Miscellaneous Operators.......................................................................................30
................................................................................30
2.5 Statements.......................................................................................................................30
2.5.1 Assignment Statement...........................................................................................30
2.5.2 Call Statement.........................................................................................................31
................................................................................................31
...........................................32
2.5.5 Debug.Print Statement...........................................................................................33
2.5.6 Do-Loop Statement and Variants.........................................................................33
.........................................................................................................34
................................................................................................35
.......................................................................................................37
2.5.10 If-Then-Else Statement........................................................................................37
.............................................................................38
2.5.12 Select-Case Statement........................................................................................39
2.5.13 Set Statement........................................................................................................40
2.5.14 While-Wend Statement........................................................................................41
2.5.15 With Statement......................................................................................................41
..............................................................................................................................42
......................................................................................................42
2.6.2 Numeric Literals - Integral Values........................................................................42
Previous page Top Next page