-- Lingo syntax VOID // JavaScript syntax null
Constant; indicates the value VOID.
This statement checks whether the value in the variable currentVariable is VOID:
-- Lingo syntax
if currentVariable = VOID then
put("This variable has no value")
end if
// JavaScript syntax
if (currentVariable == undefined) {
put("This variable has no value");
}