menu: Algorithm/New Local Definition/Memory
DialogWindow: ``mem''
DefinitionWindow
create two input ports and one output port. Enter: ? int init ? int x ! int x.
For the ``init'' port, click the right button of the mouse on this port, then click on Memory Init Port.