Jump to content

Combining Lists..


Chellynne Bailey
 Share

You are about to reply to a thread that has been inactive for 3517 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

-rubs forehead-

 

Trying to figure out why this:

 

list layer_list = ["top", "bra"]; 
list nipple_list = ["nipple", "nipple2", "nipple3"]; 
list add_on_list = ["barbells"]; 
list link_list = layer_list + nipple_list + add_on_list;

 

is throwing a syntax error? This is supposed to work >.> 

http://wiki.secondlife.com/wiki/LlListInsertList

 

anyone see something I don't? T.T

Link to comment
Share on other sites

It looks fine to me.  That's basic concatenation.  You don't need llListInsertList to do it.  So exactly what is the error message? (Or are you using the in-world script editor, which only tells you that there's an error someplace?)

(Three nipples? :smileysurprised: )

Link to comment
Share on other sites

 

Well I linked that entry cause it shows how to do concatenation with lists....

 

Yeah it compiles fine on my out of world editor, but inworld it gets to the first + and yells Syntax error. 

 

This however seams to work. 

list link_list = [layer_list, nipple_list, add_on_list];

still confused why the first version didn't work though.

((chuckles, not all at once!))

 

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3517 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...