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.

206AppendixC.PredenedModule ); {{Hereareallthebuiltinexceptions );'Uncopyable' {{Auserexceptionisspeciedbythecallmessagetype<strong>and</strong>oneof builtinexception:orderedenumeration( {{theexceptionsdenedwiththattype 'CaseError','ConstraintError','ConstraintFailure','Depletion',<br />

userexception:record( 'Disconnected','DivideByZero','DuplicateKey','InterfaceMismatch',<br />

type:typename, 'NotFound','PolymorphMismatch','DefinitionError','RangeError',<br />

{{executed<strong>and</strong>therootvariablethatwillholdtheexpression {{result.Therootvariableistheonlyvariableoutsidethe {{expressionblockscopethatisnotheldconstantwithinthescope. expressionqualifier:record( );exceptionid:exceptionid {{Thequalierforanexpressionblockidentiesthescopetobe<br />

{{scope. {{theenumeration.Theiterationvariableisdeclaredinthebody {{scope,aswellastherootvariablethatisusedtoiteratethrough );result:rootname {{Foraforenumeratestatement,thequalieridentiesthebody scope:scopeid,<br />

forenumeratequalifier:record( );enumerator:rootid {{Thequalierforanifstatementidentiestheclausethatwill {{evaluatethetestexpression,theobjectthatwillholdthe {{expressionresult,<strong>and</strong>theclausetobeexecutediftheexpression {{yieldsatrueresult.Inaddition,an'else'clausemayoptionally {{besupplied,identifyingtheclausetobeexecutedwhenthetest scope:scopeid,

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

Saved successfully!

Ooh no, something went wrong!