-- Lingo syntax voidP(variableName) // JavaScript syntax variableName == null
Function; determines whether a specified variable has any value. If the variable has no value or is VOID, this function returns TRUE. If the variable has a value other than VOID, this function returns FALSE.
variableName Required. Specifies the variable to test.
This statement checks whether the variable answer has an initial value:
-- Lingo syntax put voidP(answer) // JavaScript syntax put(answer == null));