Running a Program (Magic xpa 3.x)
Now you will execute the program from the Studio environment.
-
Park on the My First Program program in the Program repository.
-
From the Debug menu, select Run (F7).
The Magic xpa Runtime window is opened and the executed program's main form is displayed.
To execute a program, you can also select the Run icon from the toolbar:
The Virtual variables that you created will be displayed and the task is now available for end-user input.
-
In the Customer_Code variable, type the number 1111.
-
Press the TAB key to move to the Customer_Name variable.
-
In the Customer_Name variable, type David.
You have just typed in values in the Customer_Code and Customer_Name Virtual variables. Since Virtual variables exist only for the duration of the program, when you exit the program the Virtual variable values are cleared.
-
Close the program and execute it again to see that the Virtual variable values have been cleared.