Thursday, November 20, 2008
USERLOGIN PASSWORD Remember?
You are here » Learning Center ยป Forums

Openlife Forums

 Openlife Grid Forums
Minimize
 
  Openlife Forums  Discussions  Features Do's D...  script bug: lists
Previous Previous
 
Next Next
New Post 7/29/2008 12:07 PM
Unresolved
User is offline Tala
1 posts
Openlife Newbie


script bug: lists 
Hi,
I just wanted to share this observation with you:


---------------------
default
{
state_entry()
{
list src=["a","b","c"];
string s="b";
list test1=["b"];
list test2=[s];
integer index1=llListFindList(src,test1);
integer index2=llListFindList(src,test2);
llOwnerSay((string)index1);
llOwnerSay((string)index2);
}
}
---------------------

This returns 1 (ok) and -1 (not ok).

Another observation:
The conversion from hex strings to integer gives an error.



Happy debugging!


 
Previous Previous
 
Next Next
  Openlife Forums  Discussions  Features Do's D...  script bug: lists
 Popular Forum Threads
Minimize
In the past 1 week, we have 70 new thread(s) and 275 new post(s)
The most popular thread has been GLBT Region?
The most active thread has been GLBT Region?
Privacy Statement | Terms Of UseAll Rights Reserved 2007,2008 3DX - Openlifegrid.com