Xylem System 5000 BASIC Manual User Manual
Page 2

DIFFXX.............................................................................
DIGITALX..........................................................................
DNS...................................................................................
DO.....................................................................................
ELSE...................................................................................
ELSEIF................................................................................
END....................................................................................
ENDIF.................................................................................
END SUB...........................................................................
EOF ( )................................................................................
EPOCH..............................................................................
EPOCHDAY.......................................................................
ERROR...............................................................................
ERRORSTR........................................................................
ETHERNET........................................................................
EULER................................................................................
EXP ( )................................................................................
FALSE................................................................................
FLOOR ( )..........................................................................
FLUSH...............................................................................
FOR...................................................................................
FRAC ( ).............................................................................
FREQUENCYX.................................................................
GATEWAY........................................................................
GETDB..............................................................................
GETPOWER.....................................................................
GETSDI.............................................................................
GETTASK..........................................................................
GETTIMESTAMP...............................................................
GETVALUE........................................................................
GLOBAL............................................................................
GOSUB.............................................................................
GOTO................................................................................
H377C ( )..........................................................................
H377F ( )...........................................................................
HEX$( )..............................................................................
HOURS.............................................................................
IF........................................................................................
INPUT................................................................................
INSTR ( )............................................................................
INT ( )................................................................................
IP.......................................................................................
JDAY.................................................................................
LABEL..............................................................................
LEFT$ ( )...........................................................................
LEN ( )...............................................................................
LINE INPUT.......................................................................
LISTENER.........................................................................
LN ( )................................................................................
LOCAL.............................................................................
LOG ( ).............................................................................
LOOP...............................................................................
20
20
21
21
21
21
22
22
22
22
23
23
23
23
23
24
24
24
24
24
25
25
25
25
25
26
26
27
27
27
28
28
29
29
29
29
29
30
30
31
31
31
31
31
32
32
32
32
32
33
33
33
CONTENTS
Introduction to Basic Programming.....................................2
3
3
4
4
4
5
5
6
6
6
6
7
7
8
9
Commands and Functions...................................................11
12
12
13
13
13
13
14
14
14
14
15
15
15
15
16
16
16
16
16
17
17
17
17
18
18
18
18
19
19
19
19
20
420MA................................................................................
5VREF..................................................................................
ABS (number)....................................................................
ACIN
ACOS (number).................................................................
ACTIVELED
ALARM$
ANALOGX
AND.....................................................................................
ARRAY.................................................................................
ARRAYDIM (array)..............................................................
ARRAYSIZE (array, number)..............................................
ASC (string).......................................................................
ASIN (number)..................................................................
ATAN (number).................................................................
BATT
BREAK..............................................................................
CASE...................................................................................
CEIL (number)..................................................................
CHECKRETURN
CHR$ (number)................................................................
CLEARSDI ( )....................................................................
CLOSE...............................................................................
CONTINUE....................................................................
COS (number)..................................................................
COUNTERX
DATE
DATE$
DATETIME.......................................................................
DAY
DEFAULT...........................................................................
DELAY..............................................................................
Basic Features.....................................................................
Basic Fundamentals............................................................
Program Execution.......................................................
Error Handling...................................................................
Grammar............................................................................
Comments...........................................................................
Variables, Strings and Arrays............................................
Control Statements and Loops........................................
Operators..........................................................................
Math Functions...................................................................
Subroutines........................................................................
File I/O
Serial and Network I/O.....................................................
Escape Sequences and Hex Values................................. 7
String Processing...............................................................
System 5000™ Integration............................................... 8
Installing Basic Programs.................................................. 8
Advanced Programming with Symbols..........................