XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next

15  Array Functions


  1. aref - get the nth element of an array
  2. make-array - make a new array
  3. vector - make an initialized vector

(aref array n) - get the nth element of an array
array - the array
n - the array index [integer]
returns - the value of the array element

(make-array size) - make a new array
size - the size of the new array [integer]
returns - the new array

(vector expr...) - make an initialized vector
expr - the vector elements
returns - the new vector

  Back to Top


XLISP > XLISP 2.0  -  Contents  -  Reference  -  Previous | Next