Example of an Imperative Action


Action:


||allocate a cell
|then
|||store 5 in it and bind "x" to it
||before
|||bind "f" to
|||||closure abstraction (give the integer stored in (the cell bound to "x"))
hence
||store 10 in the cell bound to "x"
|and
||enact the abstraction bound to "f"


Informal description:

Incomplete...

Try this action using Java ANI.


RAT| People

[Created by Luis Carlos. Last edited at 16 Apr 2004 by Luis Carlos]