Language documentation Contents | Index

Control structures


Description:
Controls structures for Concept are similar to C structures.


Topics
break break ends execution of the current for, while, do/while or switch structure
continue continue is used within looping structures to skip the rest of the current loop iteration and continue execution at the beginning of the next iteration
do..while do/while loops are very similar to while loops, except the truth expression is checked at the end of each iteration instead of in the beginning
else Often you'd want to execute a statement if a certain condition is met, and a different statement if the condition is not met
for for loops are the most complex loops
if The if construct is one of the most important features of Concept
import Imports the specified static library into the current project
include Includes the specified source into the current one
return Ends execution of the current function, and returns its argument as the value of the function call
switch..case..default The switch statement is similar to a series of if statements on the same expression
while while loops are the simplest type of loop




Documented by Eduard Suica, generation time: Sun Jan 27 18:15:22 2013 GMT(c)2013 Devronium Applications