XLISP-STAT works with two kinds of data: simple data and compound data . Simple data 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 ; falsestrings (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-symbolCompound 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 9.
All the examples given above can be typed directly into the command window as they are shown here. The next subsection describes what XLISP-STAT will do with these expressions.