summaryrefslogtreecommitdiff
path: root/server/xml/macros/example.xml
diff options
context:
space:
mode:
Diffstat (limited to 'server/xml/macros/example.xml')
-rw-r--r--server/xml/macros/example.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/xml/macros/example.xml b/server/xml/macros/example.xml
index eef6a18..ff502ed 100644
--- a/server/xml/macros/example.xml
+++ b/server/xml/macros/example.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='UTF-8'?>
-<macro name="example" version="1.0" resume="Axis: $.grader}\nCylinder: ${cyl}\nSphere: $.sfere}\n">
+<macro name="example" version="1.0" resume="Axis: $.grader}\nCylinder: ${cyl}\nSphere: $.sf}\n">
<queries>
<query class="lensmeter" ttl="10000" automap="true"/>
</queries>
@@ -30,9 +30,9 @@
</maps>
<scripts>
<script language="lua" name="theanswer">
- .sfere = tonumber(getValue(.sfere'))
+ .sf = tonumber(getValue(.sf'))
.grader = tonumber(getValue(.grader'))
- if(.sfere ==.grader )
+ if(.sf ==.grader )
then
setValue('cyl', name)
return true
@@ -62,10 +62,10 @@
</frame>
</frame>
<frame name="linse_frame" caption="FlereLinser:" layout="vbox">
- <multilist name="multilisttest" value="" layout="vbox" format="Sphere: $.sferecombo}, Cyl: ${multcyl}.">
+ <multilist name="multilisttest" value="" layout="vbox" format="Sphere: $.sfcombo}, Cyl: ${multcyl}.">
<frame name="linse_frameb" layout="hbox">
<label name="b" width="100" caption="Sphere:"/>
- <combobox name=.sferecombo" width="100" value="val_lad" type="search">
+ <combobox name=.sfcombo" width="100" value="val_lad" type="search">
<item caption="sap" value="val_sap"/>
<item caption="sat" value="val_sat"/>
<item caption="sad" value="val_sad"/>