12.07.2015 Views

spec - Local Sector 7 web page

spec - Local Sector 7 web page

spec - Local Sector 7 web page

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.

group any number of lines together to form just one parse tree. Asignificant consequenceof the parse tree mechanism is limitation of the scope of a nonglobal variableto the statement block in which it is referenced.<strong>spec</strong> may detect error conditions during each of the phases described above. Most ofthese errors (and the interrupt character, usually a ˆC )reset <strong>spec</strong> to the commandlevelprompt.<strong>spec</strong> manages a memory arena that is used as storage for parse trees, macro andvariable symbol tables and command history. Inearlier versions of <strong>spec</strong>, this memoryarena was fixed in size. <strong>spec</strong> now allows the arena to grow up to the maximumdata-space size allowed by the system. The memstat command displays <strong>spec</strong>’s memoryusage.<strong>spec</strong> also manages some auxiliary files. The user’s state file stores the importantparts of the memory arena. This file is used to let the user exit and restart <strong>spec</strong>without losing the program’s state. Another file stores the current data points anddata group configuration, so that they, too, will be available after exiting and restarting<strong>spec</strong>. These files are placed in the userfiles subdirectory of each configuration’sauxiliary file area.Syntax DescriptionCommentsA # introduces a comment. Everything following a # on an input line is ignored(unless the # is within a string). Comments are retained in macro definitions and arecounted in the macro length.Identifier sAn identifier is a name — it can be a variable name, a macro name or an array name.An identifier may begin with the letters a-z , A-Z or _ (underscore). The remainingletters in a name may be those characters or the digits 0-9 . There is no limit to thenumber of characters in a variable name. In the syntax rules described later, suchnames are represented by the term identifier.46 REFERENCE MANUAL INTERIM WORK-IN-PROGRESS (8/16/01) NOT FOR GENERAL DISTRIBUTION

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

Saved successfully!

Ooh no, something went wrong!