Difference between revisions of "For"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSL Generic
{{LSL Generic
|header_title=for(initializer; condition; increment)
|header_title=for(initializer; condition; increment) statement
|header_text={{LSL Generic/Text
|header_text={{LSL Generic/Text
|return_type
|return_type
Line 6: Line 6:
|header_floater
|header_floater
|header_desc
|header_desc
|header_footnote
|header_footnote=
|p1_name=initializer|p1_desc=
|p1_name=initializer|p1_desc=Executed before loop is executed.
|p2_name=condition|p2_desc=
|p2_name=condition|p2_desc=If this executes as true then '''statement''' is executed.
|p3_name=increment|p3_desc=
|p3_name=increment|p3_desc=executed after '''statement''' after statement, then '''condition''' is checked again.
|p4_name|p4_desc
|p4_name=statement|p4_desc=can be either a single statement or a block statement.
|p5_name|p5_desc
|p5_name|p5_desc
|p6_name|p6_desc
|p6_name|p6_desc

Revision as of 11:29, 8 February 2007

Examples