Acet-list-assoc-put

提供:GizmoLabs - だいたい CAD LISP なサイト
2025年8月9日 (土) 05:55時点におけるGizmon (トーク | 投稿記録)による版 (ページの作成:「{{AutoLISP}} ; 構文 : (acet-list-assoc-put ''dpValue'' ''assoclst'' ) ; 機能 : dpValueによって更新されたassoclstを返す。 ; 引数 :* dpValue … ドットペアリスト :* assoclst … dpValueによって更新されるドットペアリスト。dpValue がリストに存在しない場合は、assoclst に追加される。 ; 戻り値 : dpValueによって更新されたassoclst。 ; サンプル <pre class="brush:autolisp;"> (setq )…」)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
構文
(acet-list-assoc-put dpValue assoclst )


機能
dpValueによって更新されたassoclstを返す。


引数
  • dpValue … ドットペアリスト
  • assoclst … dpValueによって更新されるドットペアリスト。dpValue がリストに存在しない場合は、assoclst に追加される。


戻り値
dpValueによって更新されたassoclst。


サンプル
(setq )
(acet-list-assoc-put '(2 . "B") '((1 . "a") (2 . "b") (3 . "c")))
((1 . "a") (2 . "B") (3 . "c"))

関連事項