-- 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