When you have created a user-defined variable, you can edit its name, initial value, and whether or not it is retained. Reserved variables cannot be edited.
To edit a variable:
Click Variable Manager from the Tools ribbon. The Variable Manager window opens. Click on the User-Defined tab if the Variable Manager window is not already opened to this tab.
Select the user-defined variable you want to edit and click the Edit button.
Use the controls within the Variable Information box to edit the following:
Variable Name |
Specify the name for the variable. This name must be unique to all existing variable names. Variable names cannot contain spaces or special characters. |
Initial Value |
Specify the initial value for the variable. This is the default value of the variable when the published title is launched. |
Retain variable value between sessions |
Select this to retain the variable's value through subsequent launches of the published title. With this selected, if the variable value has changed, the next time the user launches the published title, the variable will load with the previously modified value. |
Random initial value |
Select this to assign a random integer value to a variable. When you select this option, specify the Min Value and Max Value in the fields provided. When the published title is launched, the default value of the variable will be a random number greater than or equal to the Min Value specified and less than or equal to the Max Value specified. |
Click OK to accept the changes.
© Copyright eLearning Brothers 2021