You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
irxground edited this page Jul 13, 2012
·
6 revisions
1から10まで足した結果を表示するプログラム
Main
Sum: $data -> total
Say: total
End Main
Sub Sum: array -> total
Set: 0 -> total
For array -> item Do
Add: item >-> total
End For
End Sub
__YAML__
data: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]