• R/O
  • HTTP
  • SSH
  • HTTPS

tutorial: コミット

This repository is for tutorials of Eos.


コミットメタ情報

リビジョン241cfa56e99d2719ba64cfc8fc9e2aa6e2b4a161 (tree)
日時2014-11-27 15:50:34
作者kinoshita-eos <kinoshita@yasu...>
コミッターkinoshita-eos

ログメッセージ

Add: tutorial for PIONE about Control statement
new file: SampleCode/PIONE/Basic7/EvenOdd.pione

変更サマリ

差分

--- /dev/null
+++ b/SampleCode/PIONE/Basic7/EvenOdd.pione
@@ -0,0 +1,23 @@
1+param $val := 123
2+
3+Rule Main
4+ output 'message.txt'
5+Flow
6+ if $val % 2 == 0
7+ rule Even
8+ else
9+ rule Odd
10+ end
11+End
12+
13+Rule Even
14+ output 'message.txt'
15+Action
16+ echo "{$val} is even." > {$O[1]};
17+End
18+
19+Rule Odd
20+ output 'message.txt'
21+Action
22+ echo "{$val} is odd." > {$O[1]};
23+End
\ No newline at end of file
旧リポジトリブラウザで表示