Flexible Rules
Home Publications Examples Downloads API Overview API Doc Tutorials

do ... end

Synopsis:

(do expr1 expr2 ... exprN end)

Description:

Allows to group expr1, expr2, ..., exprN in a single statement.

Example:

(if (= (property "stones") 0) 
	(update property "stones" 1)
else (do
	(new var temp as (property "stones"))
	(set var temp to (- temp 1))
	(update property "stones" to temp)
	end))


Contact: Fulvio Frapolli (fulvio . frapolli //at// unifr . ch), Amos Brocco (amos . brocco //at// unifr . ch)
* Remove spaces and replace //at// with @
© 2009