Difference between revisions of "LSL 101/In the Beginning"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{NavNextPrev|prev=A Gentle Introduction|next=Simple Script Skeleton}})
 
Line 1: Line 1:
[[Category:LSL 101]]
{{NavNextPrev|prev=A Gentle Introduction|next=Simple Script Skeleton}}
{{NavNextPrev|prev=A Gentle Introduction|next=Simple Script Skeleton}}
This thread of ''A Gentle Introduction'' is written especially for the Second Life user that has some building experience, but little or no scripting (or other programming) experience.  It is divided into "lessons" that are ordered to be read sequentially.  Most lessons will take the form of an  example script, followed by a discussion of anything that is newly introduced by that script.  If we write the lessons successfully and you read them sequentially, you will never come to a page where there are unexplained assumptions.
On the other hand, we don't try to explain everything about a topic in the lesson it is introduced.  if you're looking for the full details of any particular topic, see the section [[LSL 101/Language Topics in Focus|Language Topics in Focus]]. 
Our examples will be full scripts that you can copy into SL and run yourself.  You can make modifications and run those, to verify that your understanding matches what SL actually does.  One consequence of that though, is that in a few cases (especially in the beginning), the structure of LSL forces us to include something in the example that we're not ready to explain.  When this happens, we'll call it to your attention so you're not left wondering whether you've missed something.
As you read these pages, if you do come to a place where you feel we haven't adequately explained the example, or are making unwarranted assumptions about your background knowledge, please let us know.  On each Wiki page, there is a tab labeled ''discussion''.  Click on that tab and tell us what you think.  Don't worry if you don't know the Wiki editing conventions; we'll figure it out.  If you have general comments that are relevant to more than one page, there is a [http://forums.secondlife.com/showthread.php?t=318943 forum discussion] that is a great place to post your thoughts.
Finally if you are experienced scripter who is reading these pages out of curiosity, fell free to jump in and improve them.  This is, after all, a Wiki.
Though this series of lessons is designed to be read sequentially, you may sometimes have a desire to jump back and forth between lessons.  So here's a table of contents.
* [[LSL 101/Simple Script Skeleton|Simple Script Skeleton]]
* [[LSL 101/Comments, White-space and Formatting|Comments, White-space and Formatting]]
* [[LSL 101/Simplest Output|Simplest Output]]
* [[LSL 101/The touch_start Event|The touch_start Event]]
* [[LSL 101/Creating a Script|Creating a Script]]
* [[LSL 101/Compile Time Errors|Compile Time Errors]]
* [[LSL 101/Functions That Return a Value|Functions That Return a Value]]
* [[LSL 101/String Concatenation|String Concatenation]]
* [[LSL 101/Variables|Variables]]
* [[LSL 101/Global vs Local Variables|Global vs Local Variables]]
* [[LSL 101Variable Initialization/Variable Initialization|LSL 101Variable Initialization/Variable Initialization]]
* [[LSL 101/Event Handler Parameters|Event Handler Parameters]]
* [[LSL 101/|LSL 101/]]

Revision as of 12:31, 1 June 2009

← A Gentle Introduction ↑̲  LSL 101  ̲↑ Simple Script Skeleton →

This thread of A Gentle Introduction is written especially for the Second Life user that has some building experience, but little or no scripting (or other programming) experience. It is divided into "lessons" that are ordered to be read sequentially. Most lessons will take the form of an example script, followed by a discussion of anything that is newly introduced by that script. If we write the lessons successfully and you read them sequentially, you will never come to a page where there are unexplained assumptions.

On the other hand, we don't try to explain everything about a topic in the lesson it is introduced. if you're looking for the full details of any particular topic, see the section Language Topics in Focus.

Our examples will be full scripts that you can copy into SL and run yourself. You can make modifications and run those, to verify that your understanding matches what SL actually does. One consequence of that though, is that in a few cases (especially in the beginning), the structure of LSL forces us to include something in the example that we're not ready to explain. When this happens, we'll call it to your attention so you're not left wondering whether you've missed something.

As you read these pages, if you do come to a place where you feel we haven't adequately explained the example, or are making unwarranted assumptions about your background knowledge, please let us know. On each Wiki page, there is a tab labeled discussion. Click on that tab and tell us what you think. Don't worry if you don't know the Wiki editing conventions; we'll figure it out. If you have general comments that are relevant to more than one page, there is a forum discussion that is a great place to post your thoughts.

Finally if you are experienced scripter who is reading these pages out of curiosity, fell free to jump in and improve them. This is, after all, a Wiki.

Though this series of lessons is designed to be read sequentially, you may sometimes have a desire to jump back and forth between lessons. So here's a table of contents.