removed useless _ folders

This commit is contained in:
Fred Beckhusen
2015-08-09 16:54:31 -05:00
parent fde850293c
commit 948a44dfba
5204 changed files with 2425579 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
<Solution name="StringParse">
<Project name="StringParse" path="StringParse\StringParse.prj" active="true"/>
</Solution>

View File

@@ -0,0 +1,69 @@
// :CATEGORY:Strings
// :NAME:StringParse
// :AUTHOR:Encog Dod
// :CREATED:2010-01-10 05:20:56.000
// :EDITED:2013-09-18 15:39:05
// :ID:841
// :NUM:1169
// :REV:1.0
// :WORLD:Second Life
// :DESCRIPTION:
// StringParse
// :CODE:
// From the book:
//
// Scripting Recipes for Second Life
// by Jeff Heaton (Encog Dod in SL)
// ISBN: 160439000X
// Copyright 2007 by Heaton Research, Inc.
//
// This script may be freely copied and modified so long as this header
// remains unmodified.
//
// For more information about this book visit the following web site:
//
// http://www.heatonresearch.com/articles/series/22/
string text;
string pop()
{
string result;
integer i = llSubStringIndex(text, " ");
if( i!=-1 )
{
i -=1;
result = llGetSubString(text,0,i);
text = llGetSubString(text,i+2,-1);
return result;
}
else
{
result = text;
text = "";
}
text = llStringTrim(text, STRING_TRIM);
result = llStringTrim(result, STRING_TRIM);
return result;
}
default
{
state_entry()
{
text = "Now is the time for all good men to come to the aid of their country.";
string str;
while( (str=pop())!="" )
{
llSay(0,str);
}
}
}

View File

@@ -0,0 +1,6 @@
<Project name="StringParse" guid="D6A299CB-6C00-1014-B904-200204C60A89">
<Object name="Object" guid="D6A29AAA-6C00-1014-B904-200204C60A89">
<Script name="StringParse_1.lsl" guid="D6A31E30-6C00-1014-B904-200204C60A89">
</Script>
</Object>
</Project>