28.01.2015 Views

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

Hermes: A Tutorial and Reference Manual - Researcher - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

copy(continued) Preconditions: uncopyable(source) var(result) init(source) AppendixB.<strong>Hermes</strong>Operations165<br />

Description:Makeacopyoftheobjectstoredinsource,<strong>and</strong>storethe Qualier:absent copyinresult. Postconditions: copy(source,result)<br />

create(result,program)Exceptions:Depletion,InterfaceMismatch TypeRules: Preconditions:<br />

result2outport predefined!program Seex11.1,p.94<br />

Description:Instantiateprogramasaprocess,<strong>and</strong>storeanoutputport Qualier:absent var(result) checked(program) connectedtotheprocess'initializationportinresult. Postconditions:<br />

currentprogram(result) makeinit(result)<br />

TypeRules: Preconditions: result var(result) predefined!programPostconditions:<br />

makechecked(result) Exceptions:Depletion Seex11.8,p.124<br />

Description:Storeacopyoftheprogramobjectfromwhichtheexecuting Qualier:absent discard(variable) TypeRules:None Preconditions: processwasinstantiated,intoresult.<br />

var(variable) Postconditions: makeuninit(variable) Seex11.10,p.129 Exceptions:|

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!