You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.9 KiB
XML

<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value="Test Name"/>
<attribute name="authors" value="skybl"/>
<attribute name="about" value="Test Description"/>
<attribute name="saved" value="2022-10-07 12:17:19 AM"/>
<attribute name="created" value="c2t5Ymw7REVTS1RPUC03VEFWOEpBOzIwMjItMTAtMDY7MDE6NDU6MDMgQU07Mjg3Mg=="/>
<attribute name="edited" value="c2t5Ymw7REVTS1RPUC03VEFWOEpBOzIwMjItMTAtMDc7MTI6MTc6MTkgQU07MjsyOTkw"/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="a, b" type="Integer" array="False" size=""/>
<assign variable="a" expression="1"/>
<input variable="b"/>
<output expression="a + b" newline="True"/>
<if expression="a &lt; b">
<then>
<output expression="&quot;good&quot;" newline="True"/>
</then>
<else>
<output expression="&quot;bad&quot;" newline="True"/>
</else>
</if>
<while expression="a &lt; 5">
<output expression="&quot;a is now &quot; &amp; a" newline="True"/>
<assign variable="a" expression="a + 1"/>
</while>
<for variable="b" start="0" end="10" direction="inc" step="1">
<output expression="&quot;b is now &quot; &amp; b" newline="True"/>
</for>
</body>
</function>
<function name="foo" type="Integer" variable="b">
<parameters>
<parameter name="a" type="Integer" array="False"/>
</parameters>
<body>
<declare name="b" type="Integer" array="False" size=""/>
<assign variable="b" expression="a"/>
</body>
</function>
</flowgorithm>