Difference between revisions of "Talk:LlListFindList"

From Second Life Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 9: Line 9:
If you have a haystack list of keys in which you try and find a needle key, you have to convert the needle to string because llListFindList sees keys are strings, not sure why.<br>
If you have a haystack list of keys in which you try and find a needle key, you have to convert the needle to string because llListFindList sees keys are strings, not sure why.<br>
[[User:Freefall Ninetails|Freefall Ninetails]] 00:41, 7 January 2010 (UTC)
[[User:Freefall Ninetails|Freefall Ninetails]] 00:41, 7 January 2010 (UTC)
There was a problem at one point where keys would be saved to lists as strings in certain situations (IIRC it was when using the (list) typcast), this should no longer be the case, and any keys added to lists should be properly typed as keys, and findable as such... this note was added to avoid confusion. for future readers.<br/>-- '''[[User:Void_Singer|Void]]''' <sup><small>([[User_talk:Void_Singer|talk]]|[[Special:Contributions/Void_Singer|contribs]])</small></sup> 03:00, 21 October 2012 (PDT)
:The bug is still present in LSO but was fixed in Mono. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 14:07, 22 October 2012 (PDT)

Latest revision as of 13:07, 22 October 2012

Is this case-sensitive?

Sayrah Parx 17:23, 13 December 2008 (UTC)

Elements need to equal in type and value. Since strings are case sensitive and since variable names are case sensitive, llListFindList is case sensitive too.
Zai signature.png Lynch (talk|contribs) 17:47, 13 December 2008 (UTC)

Keys are seen as strings

If you have a haystack list of keys in which you try and find a needle key, you have to convert the needle to string because llListFindList sees keys are strings, not sure why.
Freefall Ninetails 00:41, 7 January 2010 (UTC)

There was a problem at one point where keys would be saved to lists as strings in certain situations (IIRC it was when using the (list) typcast), this should no longer be the case, and any keys added to lists should be properly typed as keys, and findable as such... this note was added to avoid confusion. for future readers.
-- Void (talk|contribs) 03:00, 21 October 2012 (PDT)

The bug is still present in LSO but was fixed in Mono. -- Strife (talk|contribs) 14:07, 22 October 2012 (PDT)