Data

XLISP-STAT works with two kinds of data: simple data and compound data. Simple data, or atoms, are numbers
1                   ; an integer
-3.14               ; a floating point number
#C(0 1)             ; a complex number (the imaginary unit)
logical values
T                   ; true
nil                 ; false
strings (always enclosed in double quotes)
"This is a string 1 2 3 4"
and symbols (used for naming things; see the following section)
x
x12
12x
this-is-a-symbol
Compound data are lists
(this is a list with 7 elements)
(+ 1 2 3)
(sqrt 2)
or vectors
#(this is a vector with 7 elements)
#(1 2 3)
Higher dimensional arrays are another form of compound data; they will be discussed below in Section [*].

All the examples given above can be typed directly into the command window as they are shown here. The next section describes what XLISP-STAT will do with these expressions.