Difference: EditingAssignModules (6 vs. 7)

Revision 72010-02-14 - KatTrevor

Line: 1 to 1
 
META TOPICPARENT name="ArenaGuide"

Editing Assign Modules

Line: 8 to 8
  Variables may be assigned a new value by setting the Type to be Variable, the Variable Name to the name of the variable to assign and New Value to the new value of the variable.
Changed:
<
<
One dimensional variables may be useful when a variable has a different value in a different situation. One dimensional variables may be assigned a new value by setting the Type to be ID Variable, and the Variable Name to the name of the variable to assign. It is then best to access the newly created variable by going to Basic Proces s and double clicking the Variable icon. Select the new variable and choose the Row to be the number of different values the ID variable could be and the New Value to the new value of the variable in each particular situation.
>
>
One dimensional variables may be useful when dealing with arrays, e.g. using different variable values for each day of the week. One dimensional variables may be assigned a new value by setting the Type to be Variable Array (1D), choosing the required Ro of the array and setting the New Value. Note that the variable array must be set up (see Editing Variables) with the correct number of rows for the assignment to work correctly.
 
Changed:
<
<
A good example of a ID variable is assigning the times a Receptionist at a medical centre must start work on different days during the week. This example is shown below.
>
>
For example, assuming a variable array has been set up with initial values as shown.

Values_for_Reception_Start_Times.png

To assign a value of 1 to the seventh element in the array we can use the Assignmen a New Value of 1 to Row 7 of our 1D variable.

  1D_variable.png

Note: Row 1 represents Monday, Row 2 represents Tuesday...etc

Deleted:
<
<
Values_for_Reception_Start_Times.png
 Two dimensional variables may also be useful. They are implemented identically to one dimensional variables (above) except that the user can define the number of rows and the number of columns.

A good example of a 2D variable is assigning a roster for when several receptionists must start work each day. This example is shown below.

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback