Plum Fuse

You are here: Plum Fuse Docs » module » Reserve Variable

Reserve Variable

The Reserve Variable module can be used to create a variable and reserve it for future use in your application. If you expect variables to be passed from another application via the Run Another App module, you may want to use this module to create variables in this app that can receive these values.

Options and Controls

Front Panel Controls

  1. Click this button to display the module menu

Menu Options

None

Notes

All variables are created as soon as the application begins running. The initial value of the variable will be the empty string ””, unless this variable is overridden by a value from another application calling it via the Run Another App module.

Examples

From this example, the “GetName” application first prompts the user to input their first name and last name. Note that we use the Reserve Variable module here to reserve the variable, age, which we will get back from the “Get Age” application. Then, the Run Another App module is used to send the variables, firstName and lastName, to the “Get Age” application. In the “Get Age” application, the user is told what they had entered for their first name and last name and then prompted to enter their age. Note that we had used the Reserve Variable modules to reserve the variables, firstName and lastName. The “Get Age” application then completes and returns to the “GetName” application. There, the Run Another App module receives the age variable from the “Get Age” application, which gets used in the Multipart Prompt module to state what the user had inputted for their age.

module/reserve_var.0.txt · Last modified: 2010/07/28 13:33 by victor