「Vle-numberp」の版間の差分

提供:GizmoLabs - だいたい CAD LISP なサイト
(ページの作成:「{{AutoLISP}} ; 構文 : (vle-numberp ''obj'') ; 機能 : obj が数値 (INT or REAL)型かどうかを調べる : numberp 関数と同様。 ; 引数 :* obj...」)
(相違点なし)

2018年12月25日 (火) 16:25時点における版

構文
(vle-numberp obj)


機能
obj が数値 (INT or REAL)型かどうかを調べる
numberp 関数と同様。


引数
  • obj : 値


戻り値
T= 'obj' は数値、nil = 'obj' は数値ではない


サンプル

<syntaxhighlight lang="lisp" line> (vle-numberp 123) T

(vle-numberp 123.0) T

(vle-numberpT) nil

(vle-numberp"ENAME") nil


</syntaxhighlight>



関連事項