A source file consists of any number of statements:
<source-file>
source-file ::=
    <statement-list> <statement>
statement ::=
    <uid2-statement> | <uid3-statement> | <character_set-statement> | <enum-statement> | <name-statement> | <resource-statement> | <struct-statement>
A summary of the keywords that are used for these statement types respectively is given below:
Defines the character set to be used  | 
|
Defines a set of integer values  | 
|
By default, the resource IDs in the generated header file are allocated from 1 in ascending sequence. The sequence can be made to begin from another value using this statement.  | 
|
Defines an actual resource instance of the type defined in a struct, gives it a resource id, and causes it to be generated in the resource file.  | 
|
Defines a type of resource.  | 
|
Defines the second UID for the resource file  | 
|
Defines the third UID for the resource file  | 
The most usual statements are STRUCT and RESOURCE.