CODE
list bork = [ "O", "M", "G", "W", "T", "F", "B", "B", "Q", "!" ] ;
llWhisper( 0, (string)bork ) ;
I assume, if it would work, that it would just spit out something horrible, with all the quotes and commas and everything all mashed in there.

These forums are CLOSED. Please visit the new forums HERE
Explicit casting of lists? |
|
Cross Lament
Loose-brained Vixen
![]() Join date: 20 Mar 2004
Posts: 1,115
|
12-04-2004 15:38
I imagine this would be a kinda dumb thing to do... but can you explicitly cast a list as another type, say a string? Ie:
CODE list bork = [ "O", "M", "G", "W", "T", "F", "B", "B", "Q", "!" ] ; I assume, if it would work, that it would just spit out something horrible, with all the quotes and commas and everything all mashed in there. ![]() _____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?" |
Rysidian Rubio
Ruby Red Head
![]() Join date: 14 Jan 2004
Posts: 263
|
12-04-2004 17:20
Isn't that pretty much what llDumpList2String does?
|
Upshaw Underhill
Techno-Hobbit
Join date: 13 Mar 2003
Posts: 293
|
12-04-2004 19:56
Yes it does Cross, but not even the commas and quotes.
llWhisper(0,(string)["1","2","3","4"] becomes 'Object whispers: 1234' The prettier way to do it is llList2CSV: 'Object whispers: 1,2,3,4' L8r, UU |
Cross Lament
Loose-brained Vixen
![]() Join date: 20 Mar 2004
Posts: 1,115
|
12-04-2004 20:39
I suppose I ought to read the wiki more closely.
![]() Thank you both. ![]() _____________________
- Making everyone's day just a little more surreal -
Teeple Linden: "OK, where did the tentacled thing go while I was playing with my face?" |