exist(<ident>)
numeric
Whether an identifier exists: one if it does, zero if it doesn’t.
<ident>
Name of the identifier
to be tested.
The first case will give a return value of 1 because
pi is a system numeric and always exists. The second case will return 1 if there is a local identifier also called
numeric test = exist(pi)if (exist(~local.pi)) !Local pi exists