Specifying the order of execution of multiple preprocessors for a project
If you enable multiple preprocessors, they are executed in the order specified in the
Preprocessors tab in the project's properties. The preprocessor at the top of the list is executed first, moving sequentially down the
list.
To change the position of a preprocessor in the list:
- In Solution Explorer, click the project whose properties you want order.
- Click
Project >
project_name > Properties.
- Click the
Preprocessors tab in the left side of the IDE to open the preprocessors properties page.
- On the Preprocessors tab in your project's properties, select the preprocessor whose position you want to change.
- Click
to move the preprocessor up the list and execution order.
- Click
to move the preprocessor down the list and execution order.
- Check the
Preprocessor Directives field to verify the order of execution of the selected preprocessors.
Specifying the order of execution of multiple preprocessors for a file
If you enable multiple preprocessors, they are executed in the order specified in the
Preprocessors tab in the project's properties. The preprocessor at the top of the list is executed first, moving sequentially down the
list.
To change the position of a preprocessor in the list:
- In Solution Explorer, right-click a COBOL program in your project, and click
Properties.
This opens the program's
Property Pages dialog box.
- Click the
Preprocessors option in the left side of the program's
Property Pages to display the preprocessors properties.
- On the Preprocessors
Property Pages, select the preprocessor whose position you want to change.
- Click
to move the preprocessor up the list and execution order.
- Click
to move the preprocessor down the list and execution order.
- Check the
Preprocessor Directives field to verify the order of execution of the selected preprocessors.