Join us in Outworldz at www.outworldz.com:9000 or follow us:

Search dozens of selected web sites for OpenSim and LSL script

New! Script Meta-Search will search thousands of scripts here and at other sites for LSL or Opensim scripts.
Loading

Want to add a script or a project? Upload it and a half million people will see it and your name here this year.

Home   Show All
Category: Contributor: Creator
Useful Subroutines List_Find_Last_Index  

List_Find_Last_Index

List_Find_Last_Index

Category: Useful Subroutines
By : Void Singer
Created: 2010-02-01 Edited: 2010-02-01
Worlds: Second Life

the Zip file

Download all files for List_Find_Last_Index
Contents are in zip format, with .LSL (text) source code and LSLEdit (text + Solution) formats.
Get file # 1. List_Find_Last_Index_1.lsl
1 integer uGetLstIdxRev( list vLstSrc, list vLstTst ){
2 integer vIdxFnd =
3 (vLstSrc != []) +
4 ([] != vLstTst) +
8 llDumpList2String( vLstSrc, "\x95" ),
9 (list)llDumpList2String( vLstTst, "\x95" ),
10 [] ),
11 -1 ),
12 (list)"\x95",
13 [] ));
14 return (vIdxFnd | (vIdxFnd >> 31));
15 }
16 /*//-- Anti-License Text --//*/
17 /*// Contributed Freely to the Public Domain without limitation. //*/
18 /*// 2009 (CC0) [ http://creativecommons.org/publicdomain/zero/1.0 ] //*/
19 /*// Void Singer [ https://wiki.secondlife.com/wiki/User:Void_Singer ] //*/
20 /*//--

Back to the Best Free Tools in Second Life and OpenSim.