Skip to content

if

(if test then [else])

Evaluates the test; if it is not nil, evaluates and returns then; if it is nil, else (or nil if missing).

(if (> a 0) "positive" "zero or negative")

Download LinceCAD Manual contents