Don't click here unless you want to be banned.

LSL Wiki : llList2Integer

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are crawl338.us.archive.org
integer llList2Integer(list src, integer index)

Returns the integer at index from the list src.

Example:
llList2Integer(foo, 0); // returns the first element in the list.
llList2Integer(foo, 1); // returns the second element in the list.

Compare with llList2Float, llList2Key, llList2List, llList2ListStrided, llList2Rot, llList2String and llList2Vector.

Note that llList2Integer will cast the result to an integer, so even if you call it on a string type it will return the correct integer.


This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Lists | Functions
Comments [Hide comments/form]
The functions listed on this page will not give a return value if passed an empty list as <b>src</b>. This will cause the script to stop functioning without an error or warning.
-- 78.149.6.116 (2007-11-29 17:59:25)
Attach a comment to this page: