-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path_elements.fprg
87 lines (87 loc) · 3.06 KB
/
_elements.fprg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0"?>
<flowgorithm fileversion="2.11">
<attributes>
<attribute name="name" value="All Flowgorithm elements"/>
<attribute name="authors" value="Andrea Vallorani"/>
<attribute name="about" value="Base test case"/>
<attribute name="saved" value="2019-04-06 17.55.45 "/>
<attribute name="created" value="YW5kcmU7REVTS1RPUC1TNFFIVENJOzIwMTktMDItMTc7IjA0LjI4LjI4ICI7Mjc5NA=="/>
<attribute name="edited" value="YW5kcmU7REVTS1RPUC1TNFFIVENJOzIwMTktMDItMTc7IjA0LjI4LjQ1ICI7MTsyOTAx"/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="N,N2,N3,N4,N5" type="Integer" array="False" size=""/>
<declare name="S" type="String" array="False" size=""/>
<declare name="B" type="Boolean" array="False" size=""/>
<declare name="A" type="Real" array="True" size="10"/>
<input variable="N"/>
<output expression=""Text line " & N" newline="True"/>
<assign variable="N" expression="R"/>
<call expression="Selections()"/>
</body>
</function>
<function name="Selections" type="None" variable="">
<parameters/>
<body>
<if expression="condition">
<then>
<more/>
</then>
<else>
<more/>
</else>
</if>
<if expression="condition">
<then>
<more/>
</then>
<else/>
</if>
<if expression="condition">
<then/>
<else>
<more/>
</else>
</if>
</body>
</function>
<function name="Iteractions" type="Integer" variable="P1">
<parameters>
<parameter name="P1" type="Integer" array="False"/>
</parameters>
<body>
<while expression="condition">
<more/>
</while>
<do expression="condition">
<more/>
</do>
<for variable="I" start="0" end="N" step="1">
<more/>
</for>
<while expression="condition">
</while>
</body>
</function>
<function name="ComplexConditions" type="Real" variable="P1">
<parameters>
<parameter name="P1" type="Real" array="False"/>
<parameter name="P2" type="Real" array="False"/>
</parameters>
<body>
<if expression="part1 and part2 or part3">
<then>
<more/>
</then>
<else/>
</if>
<while expression="part1 && (part2 || part3) && (part4 || part5 || part6)">
<more/>
</while>
<do expression="part1 && (part2 || part3) && (part4 || part5 || part6)">
<more/>
</do>
</body>
</function>
</flowgorithm>