User Tools

Site Tools


xmlscripting-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
xmlscripting-en [2018/12/06 11:36]
rjversluis [State Objects]
xmlscripting-en [2019/02/13 09:14] (current)
rjversluis [query]
Line 370: Line 370:
 Instead of the subidx the subid can also be used if the sub node has an ID.\\ Instead of the subidx the subid can also be used if the sub node has an ID.\\
    
 +===Function example===
 +The loco ID, //locid//, is retrieved from block **cb4** in variable **lcid**.\\
 +The function command requires a loco ID, which is provided by the text contents of the variable **@lcid**.\\
 +<code xml>
 +<​xmlscript>​
 +  <query vr="​lcid"​ table="​bklist"​ id="​cb4"​ get="​locid"/>​
 +  <fn id="​@lcid"​ fnchanged="​3"​ f3="​true"/>​
 +</​xmlscript>​
 +</​code>​
  \\  \\
 ====set==== ====set====
xmlscripting-en.1544092562.txt.gz ยท Last modified: 2018/12/06 11:36 by rjversluis