DATA TYPES 資料類型
Integers 整數 - Is a number ranging between -32768 and +32767 without decimal points eg: 1
Reals 實數 - Is a number with a decimal point eg: 1.0
Strings 字串 - Strings can be up to a maximum length of 100 characters.
Lists 串列 - list 是由一個以上的元素組成的變數 . Auto CAD 圖中的點是由 X 座標值和 Y 座標值來描述的 . 在 AutoLisp, 點圖元可以被描述為單一的變數 , 由兩個元素組成的串列 list, 第一個是 X 的座標值 , 第二個是 Y 的座標值 , eg :
( 7 10 )
( 5 9 7 2 )
(1.5 2.3 4.9 )
Atoms - 只有單一值的變數 e.g. 6
Type 指令 - 將回傳變數的資料類型 .