freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

autolisp-簡介(編輯修改稿)

2024-08-31 09:04 本頁面
 

【文章內(nèi)容簡介】 2。 4atomitem若item為元素,傳回t,否則 nilevalexp傳回exp之值。例:(eval (+ 3 5)) 232。 8(setq a 123)(setq b ‘a(chǎn))(eval ) 232。 (eval (abs –10)) 232。 10(eval a) 232。 123(eval b) 232。 123reverselist串行之反順序。例:(reverse ‘((a) b c)) 232。 (c b (a))associtem alist找alist中之某一item。若找不到,傳回nil。例:(setq al ‘((name box) (width 3) (size )))(assoc ‘size al) 232。 (assoc ‘weight al) 232。 nil數(shù)據(jù)型態(tài)轉(zhuǎn)換運算子操作數(shù)說明chrnumber將ASCII碼number轉(zhuǎn)成字符。例:(chr 65) 232。 “A”(chr 66) 232。 “B”asciistring字符串string之第一個字符的ASCII碼。例:(ascii “A”) 232。 65(ascii “BIG”) 232。 66atof string數(shù)字字符串,轉(zhuǎn)成實數(shù)。例:(atof “”) 232。 (atof “3”) 232。 atoistring數(shù)字字符串,舍去小數(shù),轉(zhuǎn)成整數(shù)。例:(atoi “97”) 232。 97(atoi “”) 232。 97(atoi “”) 232。 97itoaint將整數(shù)int轉(zhuǎn)成字符串。例:(itoa 33) 232。 “33”(itoa –17) 232。 “17” floatnumber將數(shù)number 轉(zhuǎn)成實數(shù)。例:(float 3) 232。 (float ) 232。 fixnumber刪除小數(shù)。例(fix ) 232。 控制指令表達式說明( if testexp thenexp elseexp )l else 部份可省略。l 當testexp 為偽,且無 elseexp時,傳回nil例:(if (= 1 2) “YES!” “NO!”) 232。 “NO!”(if (= 2 (+ 1 1)) “YES”) 232。 “YES”(if (= 2 (+ 3 4)) “YES”) 232。 nil (cond (test1 result1) (test2 result2) …..)l 設testi為依序第一個t的testexp,傳回resulti之結果例:(cond ((= 3 a) (1+ a)) (t 10))如果 原已 (setq a 3) 232。 4否則 232。 10(foreach name list exp1 exp2 …)l 把list的元素,分別指定給name,并執(zhí)行exp1, exp2, … (name為exp的一個變數(shù))例:(foreach n ‘(a b c) (print n))等于執(zhí)行 (print a) (print b) (pri
點擊復制文檔內(nèi)容
醫(yī)療健康相關推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1