Download XPert Basic SLL User Manual

Transcript
Resource Contention ............................................................................................................. 38
Yielding the CPU .................................................................................................................. 39
Thread Synchronization ........................................................................................................ 39
Web Page Creation and CGI-style forms handling................................................................... 39
Miscellaneous Statements and Functions ................................................................................. 41
Solving Problems with Basic ........................................................................................................ 43
Stage And Log Processing Example ......................................................................................... 43
SelfTimed Message Formatting Example ................................................................................. 50
Creating a new sensor from a combination of two other sensors ............................................. 51
Interacting with the user via the Graphical Display.................................................................. 52
Moving from Tiny Basic to Xpert Basic....................................................................................... 54
Overview ................................................................................................................................... 54
Scheduling a Program ............................................................................................................... 54
Detecting Initial Startup ............................................................................................................ 55
Detecting Recording Stop ......................................................................................................... 55
Program Example...................................................................................................................... 55
Time to Measure/Log ................................................................................................................ 55
Custom Hourly Averaging ........................................................................................................ 56
Custom GOES Formatting ........................................................................................................ 56
Custom Speech Modem Handling ............................................................................................ 57
Obsolete Functions.................................................................................................................... 57
Language Reference...................................................................................................................... 58
Language Reference Syntax ..................................................................................................... 58
Run-Time Errors ....................................................................................................................... 59
Basic Operators ......................................................................................................................... 59
- Operator .............................................................................................................................. 59
& Operator ............................................................................................................................ 59
* Operator ............................................................................................................................. 60
Operator ................................................................................................................................ 60
\ Operator .............................................................................................................................. 60
^ Operator ............................................................................................................................. 60
+ Operator ............................................................................................................................. 61
+ Operator ............................................................................................................................. 61
< Operator ............................................................................................................................. 61
<< Operator ........................................................................................................................... 61
<= Operator ........................................................................................................................... 61
<> Operator ........................................................................................................................... 62
= Operator (assignment) ....................................................................................................... 62
= Operator (comparison) ....................................................................................................... 62
> Operator ............................................................................................................................. 62
>= Operator ........................................................................................................................... 62
>> Operator ........................................................................................................................... 63
And Operator ........................................................................................................................ 63
Eqv Operator ......................................................................................................................... 63
Mod Operator ........................................................................................................................ 63
Not Operator ......................................................................................................................... 64
Or Operator ........................................................................................................................... 64
Xor Operator ......................................................................................................................... 64
3