C++ and LSL
I've begun learning C++ programming. When I visited the LSL Wiki and read some example scripts, I realized how close LSL and C++ formatting are. This may not come as a surprise to most scripters in Second Life, but I'm fairly new to programming. My strong skill is working with images and graphics, not miles of code. Still, it's pretty cool to realize that what I learn from LSL can be easily applied to other, more widely used programming languages. What was your favorite early scripting discovery? As always, hit that comment button!


4 Comments:
I've been playing some more and realized that the "foo loop" command is exactly the same as in C++. So are most of the other command. The Lindens must have used C++ as the base for LSL.
This post has been removed by the author.
Erm, I meant to say *for loop.*
It's also the same as the for loop structure in Java, C#, and many other similar and/or related languages.
You'll find that logical constructs for most programming languages are similar. The only real difference most of the time is in the keywords you use to tell the compiler to do a specific thing.
Post a Comment
<< Home