NULL_KEY
NULL_KEY is a
constant indicating an empty (
null)
key: "00000000-0000-0000-0000-000000000000".
NULL_KEY should always be used instead of an empty
string. Even though the latter works for most
LSL functions, it is bad style and can cause hard-to-track-down bugs in your script:
key foo;
foo = "";
if (foo == NULL_KEY) llSay(0, "This is never true");
This is because the empty string "
" in a key is a different
value from
NULL_KEY.
Constant |
Hacks