Don't click here unless you want to be banned.

LSL Wiki : NULL_KEY

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are ec2-54-197-147-90.compute-1.amazonaws.com

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
There is no comment on this page. [Display comments/form]