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.

164B.6.OperationDescriptions concatenate(continued) Description:Createanewtableinresultthatcontainscopiesofallthe Qualier:absent connect(outport,inport) TypeRules: wereinthesourcetable. alltheelementsfromeithersourcetableareorderedinresultasthey elementsofsource1followedbyalltheelementsofsource2,suchthat<br />

Preconditions: inport2inport matchinginportof(outport) outport2outport Exceptions:Depletion Seex11.6,p.109<br />

Description:Createanoutputportconnectedtoinport,<strong>and</strong>storeitin Qualier:absent init(inport) var(outport) outport. Postconditions:<br />

convert(result,source) makeinit(outport)<br />

TypeRules: Preconditions: source2orderedscalar init(source) Exceptions:Depletion,(RangeError) result2orderedscalar Seex11.8,p.121<br />

Description:Convertthevalueofsourcetotheappropriatecorrespondingvalueinthedomainofresult,<strong>and</strong>storetheconvertedvalueinresult<br />

rangeerror(source,result) var(result) Postconditions: makeinit(result) Qualier:absent copy(result,source) TypeRules: source2copyable resultsource Exceptions:Depletion,(Uncopyable) result2copyableSeex11.4,p.106

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

Saved successfully!

Ooh no, something went wrong!