ビジネス用語のリスト用のルール・アクション

リストの各項目に対して、ルールで実行するアクションを定義できます。

リスト内の項目にアクションを適用するには、演算子 for each <item> in <list> を使用します。

次のアクション・ステートメントのグループは、値段の高い項目のリストにあるすべての項目に適用されます。

then 
	for each item in expensive items: 
		- apply 5% discount to this item; 
		- display the message: “A 5% discount has been applied”;