「Acad strlsort」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
編集の要約なし
(相違点なし)

2009年10月14日 (水) 17:25時点における版

構文
(acad_strlsort list)


機能
文字列のリストを文字コード順にソートする。


引数
  • list : ソートする文字列のリスト。


戻り値
文字コード順に並んだリスト。
* list が無効か、ソートを行う為のメモリが不足している場合、acad_strlsort 関数は nil を返す。


サンプル
(setq holiday '("Sun" "Mon" "Sat"))
(acad_strlsort holiday)
("Mon" "Sat" "Sun")
---
(setq Week '("月" "火" "水" "木" "金" "土"))
(acad_strlsort Week)
("火" "金" "月" "水" "土" "木")