Variables



How do you create variables ? NEW

Double click in the grid in a cell of the line Variable (last line). A window will then open.
If your page is empty, place your variable in column 1.
NEW : With variables, interact even more with your user. You can :
- create a form (sent to you by email).
- get informations about your user (name, first name, age...)
- calculate with those informations (calculate a price depending on age)
- create multiple choices questions and give an appreciation at the end.
- ...
5 variables can be used, their values are automatically transmitted all along the project.
VARIABLES ARE ONLY AVAILABLES WITH THE PRO VERSION AND WITH THE DEMO VERSION.
See the rules of the grid

How do you assign a value to a variable ?

- Assign a default value



By default, the 5 variables are assigned to 0.
To give the value "Paul" to variable 1 :
- Select "Calculate" in the frame "Calculate".
- Change "Select" in "Variable 1" in the first filter under "Calculate".
- Type "Paul" in the last box of the line.

- Value(s) given by the user (ex: age, first name...)



To allow informations entered by the user :
- Select "Edit variables" in the first frame.
- Check "Variable 1" to assign informations given by the user to variable 1.
- Choose the font and its color for the boxes that will appear in the presentation.
When playing, a box appears and the user can type in the information required.
Change the values "Left", "Top", "Width" , "Height" or click on the button "Visual positioning" to position your box(es) visually.
WARNING : When playing, to properly get the new values, the software requires that you change page when an user gives an information.

View example 1, View example 2.


Hwo do you show the value of a variable ?

- Using a text line
Create a text line.
In the text box, type $var1
When playing, this expression will be automatically replaced by the value given to variable 1.


- Using a long text
If you have entered a xt or rtf file on the long text line, you may show in that text the result of a variable.
To show the value of variable 5, simply type in your text $var5.
When playing, this expression will be automatically replaced by the value given to variable 5.

View example 1, View example 2.


How do you create a form sendable by email ?




In the first frame :
- Check "Edit variables".
- Check as many variables as you need (max 5)
- Check "Send form by email button".
- Choose the font and its color
- Type your email address (email that will receive the content of the form) in the box "Email address".
- Position the form : Change the values "Left", "Top", "Width" , "Height" or click on the button "Visual positioning". - Create with text lines the words that shall appear besides the form.

The form will be sent by email.
For a form sendable by a web server, choose to insert the html code of a web page using the long texte line.

How do you interact using variables ?

- with a certain value



In the last frame, check "Action".
Check the second "If"
Choose the variable that you want to test (variable 1).
Choose an operator to test : =, != (different), >, >=, <, <=.
Specify the value (5).
Specify an action to perform if the condition is true : "go to page 5" for example.

- by comparing 2 variables



In the last frame, check "Action".
Check the first "If".
Choose the first variable that you want to test (variable 1).
Select an operator for your test : =, != (different), >, >=, <, <=.
Choose the second variable that you want to compare with the first one (variable 2).
Specify an action to perform if the condition is true : "go to page 5".

View example 1, View example 2.


How do you make variables disappear ?

- immediatly
Select "Make previous variables disappear".
All the variable(s) previously recorded will disappear.
- later
Select "Automatic disappearance with action 'Go to Column'".
When the application changes column (action "Go to column"), your variables disappear.


shareware multimedia