IsValueSet (open)

Checks if the given variable is not equal to the default value of its type. Opposite of IsDefaultValue

Syntax

// Core function, no LOADLIB necessary

BOOLEAN FUNCTION IsValueSet(VARIANT input)

Parameters

VARIANT input

The variable to check

Return value

BOOLEAN

Boolean TRUE if the given variable is has been changed from its type default, FALSE if equal to the default value

Examples

//Prints "FALSE"
DumpValue(IsValueSet(""));

//Prints "TRUE"
DumpValue(IsValueSet(PTR Print));