Académique Documents
Professionnel Documents
Culture Documents
Topics
Procedure for VPL Programming
Data and variable activities Defining variable
Reading variable
Displaying your name Input data Manipulate data with Calculate
VPL
Visual Programming Language
Easy programming tool for novices and students
Easy to start Easy to learn Easy to skill up
Draw logics Provide intuitive and understandable flow Applicable for most S/W development area
Add activities
Add services
Set values
Connect
10
11
Log data
12
13
14
Variable activity
Keep the values
Can be modified
15
3 1
Double-click
16
Double-click
17
Defining variable
18
Defining variable
Click icon
Click icon
19
Defining variable
Add variable
Change name Select variable type
Change name
Click
Click
Select type
Click
20
Defining variable
Assign value to the variable
Connect
21
Defining variable
Select SetValue item
22
Defining variable
Assigned value
23
Reading variable
24
Reading variable
Use Calculate activity
Double-click
25
Reading variable
Connect Variable and Calculate activities
Connect
26
Reading variable
Select state item from the list
27
Reading variable
Add .
Select a item from the list
1 2
Add .
Select a
28
Reading variable
Add a Simple Dialog service
Double-click
29
Reading variable
Connect Calculate and Simple Dialog service
30
Reading variable
Select AlertDialog function
31
Reading variable
Select value item from the left list
32
Reading variable
Save and run diagram
33
Reading variable
Execution result
34
35
36
37
38
39
40
41
42
Input data
43
Input data
Add Data and set below text
Input your name:
2 1
Double-click
3
Double-click
44
Input data
Connect Data and Console
Select Write Select value
2
45
Input data
Copy and paste HelloAppsConsole service
Connect first Console and second Console service Select ReadLine function
1
Copy first Console service
46
Input data
Copy and paste HelloAppsConsole service
Connect second Console and third Console service Select WriteLine function
3
2
1
Copy first Console service
47
Input data
Save and run diagram
48
Input data
Execution results
49
50
Add Calculate
51
52
53
54
55
56