%isnull() Function

Top  Previous  Next

%isnull() function is used to check if the given symbol exists. If the symbol exists true is returned even though its value is blank.

Syntax:

%isnull(symbol)
 

symbol

CScript Symbol.

This function is the opposite of the exists() function

 

Examples:

%doif( isnull(_name) ) 

  ..

%doend()

 

%set(EMAIL, isnull(SSTR) ? \rl : SSTR) 

%// Assignment is done only if there SSTR symbol is not null, otherwise the whole line removed.

 
See Remover commands.