jeffheaton's picture
  • If/Else Statements
  • While Loops
  • Do/While Loops
  • For Loops

    There are many control statements that can be used to allow scripts to make decisions. The Linden Scripting Language provides several statements that allow the execution of a script to be controlled. Parts of the script can be selectively executed based on input criteria. Loops can also be used to execute certain parts of the script a number of times. This chapter will explain how to control scripts in this way.

    In this chapter if/else statements will be introduced. These allow a script to make decisions. In addition to if/else statements, switch/case statements can also be used to make decisions. For, while and do/while loops will be introduced to allow your scripts to repeatedly execute a block of code.


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