「Vle-remove-all」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{AutoLISP}} ; 構文 : (vle-remove-all ''item'' ''lst'') : ; 機能 : リスト 'lst'から 'item'の出現箇所をすべて削除する : vl-remove と同じ...」)
(相違点なし)

2018年12月26日 (水) 12:55時点における版

構文
(vle-remove-all item lst)


機能
リスト 'lst'から 'item'の出現箇所をすべて削除する
vl-remove と同じ


引数
  • item : 'lst' から削除するオブジェクト
  • lst : リスト


戻り値
item が削除されたリスト


サンプル

<syntaxhighlight lang="lisp" line> (vle-remove-all 123 '(1 2 123 4 5 123 6 7 8)) (1 2 4 5 6 7 8)

(vle-remove-all "あ" '("あ" "え""い""う""え" "お" "あ" "お")) ("え" "い" "う" "え" "お" "お")

</syntaxhighlight>



関連事項