.VAR

.VAR varname=value
.VAR varname={expression}

.VAR is used to define preprocessor variables. The preprocessor is tool that preforms netlist transformation prior to being presented to the simulator. It is not normally invoked for SIMetrix simulations but can be selctively applied to subcircuit models. For more information see Subcircuit Preprocessing.

You can pass parameters to a subcircuit that define a vars: variable list. The values of those parameters can themselves refer to parameters define by .VAR.

The multi-level capacitor and inductor devices use the preprocessor and have a number of parameters such as QTY for quantity. Thes can be parameterised then defined using .VAR.