Skip to content

#IFSUB

#IfSub

Purpose

The #IfSub command allows you to specify conditionally compiled code based on whether a symbol is substitutable or not.

Syntax

#IfSub {symbol}
{code to compile if true}
#Else
{code to compile if false}
#EndIf

What It Does

Compiles the true code if the argument is the name of a substitutable symbol; otherwise, it compiles the false code.