NLI: Function: block

Background: NLI, Expressions, Functions
Related: Examples

The block function groups a number of expressions as one. It is frequently used in the if function's then or else case to execute a group of expressions. It also creates a new scope for variables.
A block returns the result of the last expression wihin block.

General Format:
(block [expr1] [expr2] ...)

(; If john is a doctor, then set him to like golf and hate cartoons)
(if (get doctor instance john)
        (set john like golf)
        (set john hate cartoons)

The creation of rolex replica the watch is inspired by the retro and elegant money of rolex replica watches the brand's round watch. The chronograph is omega replica simple and stylish, with the line features of rolex replica uk the watch series.

CM ©2000-2007