ERR GENERIC

From Second Life Wiki
Revision as of 01:35, 4 January 2014 by Strife Onizuka (talk | contribs) (Tired)
Jump to navigation Jump to search

Description

Constant: integer ERR_GENERIC = -1;

The integer constant ERR_GENERIC has the value -1

The meaning of this constant is context specific.

Function Indicates...
llSubStringIndex The requested string was not found in the source string.
llListFindList The requested list was not found in the list supplied.
llReturnObjectsByIDllReturnObjectsByOwner A nebulous and inexplicable error, nothing is known about it.

Caveats


Related Articles

Notes

LSL treats all non-zero integers as if they were TRUE when used as the condition in a conditional. If you want to test to make sure the value is not -1, you can do this by flipping all the bits. So if(-1 != llSubStringIndex(...)) becomes if(~llSubStringIndex(...)).

Deep Notes

Search JIRA for related Issues

Signature

integer ERR_GENERIC = -1;

Haiku

The function did fail,
an error code returned,
without real meaning.