Difference between revisions of "Talk:ERR GENERIC"

From Second Life Wiki
Jump to navigation Jump to search
(Misuse of ERR_GENERIC)
Line 4: Line 4:


: This one is not supposed to be a flag, it was for [[llReturnObjectsByID]] and [[llReturnObjectsByOwner]], part of a sequence. The string and list index usage appears to have been editorial whim on the wiki, working by coincidence. --[[User:ObviousAltIsObvious Resident|ObviousAltIsObvious Resident]] 10:43, 3 January 2014 (PST)
: This one is not supposed to be a flag, it was for [[llReturnObjectsByID]] and [[llReturnObjectsByOwner]], part of a sequence. The string and list index usage appears to have been editorial whim on the wiki, working by coincidence. --[[User:ObviousAltIsObvious Resident|ObviousAltIsObvious Resident]] 10:43, 3 January 2014 (PST)
::Agreed. If ERR_GENERIC is "A nebulous and inexplicable error, nothing is known about it" then it shouldn't really be used in cases where -1 specifically means "NOT FOUND". Such as llListFindList() and llSubStringIndex(). [[User:Omei Qunhua|Omei Qunhua]] 04:39, 4 January 2014 (PST)

Revision as of 05:39, 4 January 2014

Hex vs Decimal

Oh! Do people who come to the wiki for help understand 0xFFFFFFFF better than -1? Have we lost the plot? Will all these constants be changed when LSL moves to a 64-bit VM? Mind you, 0xFFFFFFFFFFFFFFFF would be a bit of a mouthful Omei Qunhua 02:33, 3 January 2014 (PST)

This one is not supposed to be a flag, it was for llReturnObjectsByID and llReturnObjectsByOwner, part of a sequence. The string and list index usage appears to have been editorial whim on the wiki, working by coincidence. --ObviousAltIsObvious Resident 10:43, 3 January 2014 (PST)
Agreed. If ERR_GENERIC is "A nebulous and inexplicable error, nothing is known about it" then it shouldn't really be used in cases where -1 specifically means "NOT FOUND". Such as llListFindList() and llSubStringIndex(). Omei Qunhua 04:39, 4 January 2014 (PST)