Global variable definitions are included in package implementation files after instrumentation method definitions. For example, the global variable dT in the home heating system sample is defined in the implementation file for the Default package as follows:
int dT; /*## attribute dT */