CDF file - How to manage in Preferences Editor and what is in the CDF.
A short video showing using the Preferences Editor to manage the production of the Constants&Configuration Definition File (CDF).
Build 1283, or later, exposes the CDF management in the Preferences Editor.
YouTube URL:
The CDF provide insights into how the compiler creates and manages Constants, which Scripts are creating and managing Constants, and how Conditional Compilation is executing specific segments of your program and the libraries.
The information provided is:
CODE/Constant - constants defined in a user program or library SCRIPT/AddConstant constants defined in a #script/#endscript construct SCRIPT/CurrentValue - constants already defined then redefined in another #script/#endscript construct CHECKSYSVARDEF - expansion of a mutli-condition conditional test.
The remainder of CDF report is the user program or libaries code remaining post conditional processing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The CDF report now shows ALL constants, I had an email explaining that not all constants were being shown.
CDF Report
HELP:
CODE/Constant - constants defined in a user program or library
SCRIPT/AddConstant constants defined in a #script/#endscript construct
SCRIPT/CurrentValue - constants already defined then redefined in another #script/#endscript construct FINAL/CONSTANT - final constants defined
CHECKSYSVARDEF - expansion of a mutli-condition conditional test.
Remainder of report us the user program or libaries code remaining post conditional processing
I have added the FINAL/CONSTANT section. It is the list of the final state of all constants. The start of the section is show below:
This section also shows which constants are real strings. Which means if you use them they are defined as strings in your program.
CDF file - How to manage in Preferences Editor and what is in the CDF.
A short video showing using the Preferences Editor to manage the production of the Constants&Configuration Definition File (CDF).
Build 1283, or later, exposes the CDF management in the Preferences Editor.
YouTube URL:
The CDF provide insights into how the compiler creates and manages Constants, which Scripts are creating and managing Constants, and how Conditional Compilation is executing specific segments of your program and the libraries.
The information provided is:
CODE/Constant - constants defined in a user program or library
SCRIPT/AddConstant constants defined in a #script/#endscript construct
SCRIPT/CurrentValue - constants already defined then redefined in another #script/#endscript construct
CHECKSYSVARDEF - expansion of a mutli-condition conditional test.
The remainder of CDF report is the user program or libaries code remaining post conditional processing.
Bit of an update to the CDF.
The CDF report now shows ALL constants, I had an email explaining that not all constants were being shown.
CDF Report
HELP:
CODE/Constant - constants defined in a user program or library
SCRIPT/AddConstant constants defined in a #script/#endscript construct
SCRIPT/CurrentValue - constants already defined then redefined in another #script/#endscript construct
FINAL/CONSTANT - final constants defined
CHECKSYSVARDEF - expansion of a mutli-condition conditional test.
Remainder of report us the user program or libaries code remaining post conditional processing
I have added the FINAL/CONSTANT section. It is the list of the final state of all constants. The start of the section is show below:
This section also shows which constants are real strings. Which means if you use them they are defined as strings in your program.
This should help understand the value of constants.
Enjoy