Difference between revisions of "Category talk:LSL List"

From Second Life Wiki
Jump to navigation Jump to search
(list_var += oddity?)
 
Line 12: Line 12:


After much frustration I wanted to share this in hope someone else will not fall into the pit, or if it is a bug, it can be put in Jira. I'll let one of the Wiki gods decide what to do with this.
After much frustration I wanted to share this in hope someone else will not fall into the pit, or if it is a bug, it can be put in Jira. I'll let one of the Wiki gods decide what to do with this.
--[[User:Awsoonn Rawley|Awsoonn Rawley]]
:I'll look into it, this sounds like a bug. Those two expressions should be equivalent. -- [[User:Strife Onizuka|Strife Onizuka]] 18:26, 3 June 2007 (PDT)

Revision as of 18:26, 3 June 2007

I want to document the fact that the following two expressions are NOT the same somehow.

[1] list_var += [(string)key_var]; [2] list_var += (string)key_var;

Why does this matter? why consider the following line of code:

index = llListFindList(list_var, [(string)key_var] );

If method [1] is used before the line above,you will find your value, however if you use method [2], you will not.


After much frustration I wanted to share this in hope someone else will not fall into the pit, or if it is a bug, it can be put in Jira. I'll let one of the Wiki gods decide what to do with this. --Awsoonn Rawley

I'll look into it, this sounds like a bug. Those two expressions should be equivalent. -- Strife Onizuka 18:26, 3 June 2007 (PDT)