Scripting Recipes for Second Life

jeffheaton's picture

This book provides many reusable recipes for the Linden Scripting
Language (LSL). These recipes can be used as fully functioning objects
in Second Life, or they can be used as starting points for other
projects. The recipes presented in the book span a wide range of
scripts that are commonly programmed in Second Life.

Comments

Site

kevinsr's picture

This is a awesome site.

IT

fly2world's picture

三维开发

Errors

thejanus2002's picture

The book is quite helpful. However, I found some errors.

1. In Listing 2.1: String Comparison, the definition for CHARS misses a reverse slash "\" as escape for itsself. It should be "\\". The corrected definition should be as below.

string CHARS=" !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~";

2. Listing 2.2: String Set Comparison is wrongly copied from Listing 2.1. The real listing 2.2 doesn't appear at all. In the examples downloaded here, it's also wrong.


Copyright 2005 - 2012 by Heaton Research, Inc.. Heaton Research™ and Encog™ are trademarks of Heaton Research. Click here for copyright, license and trademark information.