From 730eb796bbce6f124be9194f1565b7dda1daddf1 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 1 Jun 2010 13:02:23 +0000 Subject: Afdj macros/templates are now located in their own repo. --- server/xml/macros/example.xml | 141 ------------------------------------------ 1 file changed, 141 deletions(-) delete mode 100644 server/xml/macros/example.xml (limited to 'server/xml/macros/example.xml') diff --git a/server/xml/macros/example.xml b/server/xml/macros/example.xml deleted file mode 100644 index ff502ed..0000000 --- a/server/xml/macros/example.xml +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - - - -- LUA program - return math.pi, 1234567890, 'local' - - - -- Returning 0, 0 invalidates the result - value = 0 - timestamp = 0 - source = '' - - -- Check for the existence of each level. - if( lensmeter and - brillemaaler.odxt and - brillemaaler.cyl.odxt and - brillemaaler.cyl.value.odxt and - brillemaaler.cyl.timestamp.odxt ) - then - timestamp = brillemaaler.cyl.value.odxt - value = brillemaaler.cyl.value.odxt - end - - return value, timestamp, source - - - - - - - - - -