When the application is running variables can be stored locally under a given name either automatically (via the name of a control, see below) or manually. When a call is made back to the system for processing, specifying "Parameter" and the name of a variable will return the value of that variable to the function - this allows this value to be used. Note: variables need to be specified to be returned, as returning the whole set for every call would be far too much of an overhead, and the system does not know automatically (a future upgrade) which variables are required for a model.
The name (or first part if multiple parts) on the declared object (e.g. Under "Listbox") is the control name.
Where this is a type of control which returns a single value (say an input box), when changed the variable will be stored in the client end object store under that name.
Where the result is a selection (e.g. Listbox), then a number of variables will be stored, specifically:
<name>.selectedId (deprecated) will contain the nth entry (e.g. if the 2nd entry was selected, this will be 2)
<name>.selectedLabel - this will contains the text of the entry that was selected
<name>.selectedValue - if a Entry Value (see later) was specified when the list was populated, this will be set to the value for that entry
As well as the text of an entry, a value may be assigned to this (this may be text or a number), for example if there are multiple names that are the same, then the value may be used to say refer to a clients account number. Not this is not visible to the user of the system, but is held "underneath". When an item is selected, this Entry Value may be returned.