STARTCODE(2)

Table of Contents

Name

startcode C code executed before parsing

Synopsis

%startcode
C-code segment

Description

The startcode section of a source description file contains C code that is executed after the command line options and arguments have been read, but before parsing of the specification file begins. This code is inserted into the first part of the main procedure in the generated file main.c. Any code that should be executed before the SDTool begins reading the specification file should be included in this section.

Example

%startcode
reportinfo("Begin Application Generator.\n");

See Also

DECLARE(2)
FINALCODE(2)
HEADER(2)
MIDDLECODE(2)
PRECODE(3)
POSTCODE(3)


© 1990 Lucent Technologies, Inc
© 1998 Harmony Software, Inc