Flow ControlFlow control statements determine the sequence of operations in a program by conditionally executing parts of the program, looping over parts of the program, calling other pages code, and determining what to do in case of errors. Conditional statements are represented by if-then-else constructs, with optional elif clauses. Loops can be implemented using while statemnts, repeat statements, or for statements. There are two ways to execute the code associated with another web page. Both allow extending the functionality of a web page by re-using the code of other pages (and formatting, using the first method):
The request processing language does not contain a way to declare functions, but offers parameterized macro processing capabilities, which can be used to create the equivalent of ?inlined functions and make possible other more flexible solutions. A robust error handling mechanism is based on raise and onerror statements, which can also handle errors returned from imported code. |
|