# This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivs 2.0 France License. # To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/2.0/fr/ # or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA. body common control { bundlesequence => { "my_length" }; } bundle agent my_length { vars: "countries_list1" slist => { "australia", "canada", }; "countries_list2" slist => { "australia", "bulgaria", "malaysia", "fiji", }; "countries_list1_len" int => length("countries_list1"); "countries_list2_len" int => length("countries_list2"); reports: "List 1 has $(countries_list1_len) countries"; "List 2 has $(countries_list2_len) countries"; }