13.07.2015 Views

CAAPE User's Manual - ALSTOM Signaling Inc.

CAAPE User's Manual - ALSTOM Signaling Inc.

CAAPE User's Manual - ALSTOM Signaling Inc.

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.

Simulator Reference12.2.5. Symbols SectionThis section lists all the symbols used anywhere in the application. All variables must bedeclared in this section.The section format is:SYMBOLS[name1name2...]code1code2• name is the symbol name.− If the symbol is a local variable in a subroutine, the name is in format"subroutinename.variablename"− If it is passed to the subroutine by address, it is preceded by a '&'. If the variableis an array, its size is specified in brackets after the name.For example:SUBRT.BYVALUE: local variable BYVALUE in subroutine SUBRT, passed by value&SUBRT.BYADDR: local variable BYADDR in subroutine SUBRT, passed byaddressARRAYVAR[25]: a 25-element array variable• code is the type code, which must be the same as the code in the Symbol TypesSection for this variable's type.P2512A, Rev. Oct/09 12–5 Alstom <strong>Signaling</strong> <strong>Inc</strong>.

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

Saved successfully!

Ooh no, something went wrong!