Exemples de scripts : xmldial.xml et drv_sys_hlpfunct.xml
xmldial.xml
<DialogGui>
<?include src="f:\appl\drv_sys_hlpfunct.xml" ?>
<menu name = "main">
<open_form name = "main_form" />
<softkey POSITION="1">
</softkey>
</menu>
<form name="main_form">
<init>
fieldtype="listbox" width="360" height="500" >
condition>
return="cu_name">address_idx_map[$count].cu_idx</function>
%s">address_idx_map[$count].cu_idx, address_idx_map[$count].comp_no,
address_idx_map[$count].do_idx, do_name, cu_name</print>
Easy XML
Manuel de programmation, 12/2017, 6FC5397-1DP40-6DA1
<caption></caption>
<navigation>main</navigation>
<caption>Component arrangement</caption>
<let name="count" />
<let name="str" type="string" />
<let name="do_name" type="string" />
<let name="cu_name" type="string" />
<let name="cui_idx" />
<op>
cui_idx = 0;
</op>
<function name="load_component" />
<print text="%d CUs found">num_cus</print>
<function name="calculate_do_index" />
<control name="list_comp_no_do_idx" xpos="8" ypos="80"
<property item_data="100" />
</control>
<op>
count = 0;
</op>
<while>
<condition>count < 32 && address_idx_map[$count].comp_no != 0</
<op>
do_name= _T"";
</op>
<function name="read_do_name_fast" return="do_name">count</function>
<function name="read_cu_name_fast"
<print name="str" text="%3d %3d %3d %s
Création de boîtes de dialogue utilisateur
1.9 Adressage de composants
93