prog2
prog2(g_expr1g_expr2[g_expr3...] ) =>g_result
Description
Evaluates expressions from left to right and returns the value of the second expression. This is a syntax form.
Arguments
Value Returned
Examples
The following example returns the value of the second expression.
prog2(
x = 4
p = 12
x = 6 )
=> 12
Related Topics
Function and Program Structure
Return to top