statement guarantees that the value and access permissions associated with
a variable defined outside the current block will be restored when
the block ends.
Its usage description can be summarized as follows:
save Lvalue ;
save Lvalue = Expression ;
When a block is about to end, the Yoix interpreter executes the code
associated with the last finally statement that it encountered in the block
and then it restores saved variables in the opposite order that they were saved.
can restore variables,
is more efficient and is the only way to reset access permissions.
int dummy = 12;
const dummy = 200;
printf("original dummy=%d\n", dummy);
printf("updated dummy=%d\n", dummy);
on standard output.
| See Also:
Yoix is a registered trademark of AT&T Inc.