new file: SampleCode/PIONE/Basic13/Input/2.txt
new file: SampleCode/PIONE/Basic13/InputOr.pione
new file: SampleCode/PIONE/Basic13/OutputOr.pione
--- /dev/null
+Rule Main
+ input '1.txt' or '2.txt' or '3.txt'
+ output 'out.txt'
+Action
+ cp {$I[1]} {$O[1]}
+End
--- /dev/null
+param $Mode := 1
+
+Rule Main
+ output 'out1.txt' or 'out2.txt' or 'err.txt'
+Action
+ if [ {$Mode} -eq 1 ] ; then
+ echo "Mode: {$Mode}" > {$O[1].nth(1)}
+ elif [ {$Mode} -eq 2 ] ;then
+ echo "Mode: {$Mode}" > {$O[1].nth(2)}
+ else
+ echo "Error: Mode {$Mode} is not Supported!" > {$O[1].nth(3)}
+ fi
+End