GUI ScreenIO for Windows |
Master statements are used in the template to label the shells of complete COBOL programs (or COBOL SECTIONs).
The master contains COBOL statements, plus template statements that cause the code generator to selectively include optional code blocks in the generated code, depending on the type of panel and its content.
%name:type
where name is the name of the master.
Type | Description |
PROG-MAIN: | Defines the outline of a complete program.
Behavior of program generator: If the main option is selected, copy the code that follows this statement to the generated program file, including optional code blocks as directed by other template statements. %name:PROG-MAIN: Example:%MAIN:PROG-MAIN:
|
PROG-MODULE: | Defines the outline of a subroutine.
Behavior of program generator: If the subroutine option is selected, copy the code that follows this statement to the generated program file, including optional code blocks as directed by other template statements. %name:PROG-MODULE: Example:%SUBROUTINE:PROG-MODULE:
|
PROG-SECTION: | Defines the outline of a COBOL SECTION.
Behavior of program generator: If the SECTION option is selected, copy the code that follows this statement to the generated program file, including optional code blocks as directed by other template statements. %name:PROG-SECTION: Example:%SECTION:PROG-SECTION:
|
© 2000-2019 Norcom, all rights reserved |