Talk:Getting started with LSL

From Second Life Wiki
Revision as of 10:12, 15 August 2007 by Clang Bailey (talk | contribs) (Code sample doesn't match what the article is saying)
Jump to navigation Jump to search

Is there a reason the code isn't indented? I badly whitespaced code makes it hard to sit still; like walking into someones house and finding a picture hanging crooked on the wall. Maybe whitespace should be mentioned somewhere in the article too... Strife Onizuka 09:41, 1 February 2007 (PST)

Moved the page, it's all the rage to have spaces in names. As to the capitalization of the name thats not my can of worms. Strife Onizuka 09:46, 1 February 2007 (PST)

Code sample doesn't match what the article is saying

A Closer Look

Lets take a look at the default code.

default {

    state_entry()
    {
    llSay(0, "Hello, Avatar!");
    }
    touch_start(integer total_number)
    {
    llSay(0, "Touched.");
    }

}

The code above contains 2 comments, 1 state, 2 events and 2 functions. Lets look at them individually.


Where's the two comments?