Last (autolisp)
ナビゲーションに移動
検索に移動
- 構文
- (last lst)
- 機能
- リストの最後の要素を返す。
- 引数
-
- lst : リスト。
- 戻り値
- アトムまたはリスト。
- サンプル
(last '(a b c d e))
E
; ---
(last '("first" "second" ("third" "fourth")))
("third" "fourth")
(last '(a b c d e))
E
; ---
(last '("first" "second" ("third" "fourth")))
("third" "fourth")