Declaration





Used to store variables for use in OpticStudio and within the script



The declaration commands are used to define numerical values that may be used elsewhere in the script by reference to the declared value name. There are two types of declarations: parameters and constants. The difference between a parameter and a constant is that a parameter is exposed to the OpticStudio user interface, and the value defined in the script may be overridden with a different value in the non-sequential component editor.

Next: