Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The define variable action allows you to define a new FinalBuilder variable during the execution of the project. Project or User variables are supported.

Warning
This is not the recommended way to create FinalBuilder variables for normal use. See the Variables overview topic for details.

...

If you check this box, then variables you enter in the Default Value box (ie %MyVariable%) will be expanded to their current values before being assigned as the default value for the new variable.

Tip

...

If you want a variable which automatically evaluates other variables each time it is referenced (like a function), you can create a Macro variable (see below.) If you create a macro variable, do not check the Expand variables before assigning box.

Variable Options

Make Available as Environment Variable

...

If checked, the new variable will be persistent (the value will be saved between builds.)

Variable Namespace

Choose to create a 'Project' or a 'User' variable.

Behaviour

The action can be set to fail if the variable is already defined (Variables defined during the build are persistent, so if you save a project file after defining a new variable, the new variable will remained defined in the Variables window.)

...