out = ''
if ( getValue('autorefractor.right.missing') == '' )
then
out = out .. 'Autorefraktion, o.dxt: ' .. getValue('autorefractor.right.sphere') .. ' sf'
if ( getValue('autorefractor.right.cyl') ~= '' )
then
out = out .. ', ' .. getValue('autorefractor.right.cyl') .. ' cyl'
end
if ( getValue('autorefractor.right.axis') ~= '' )
then
out = out .. ', ' .. getValue('autorefractor.right.axis') .. ' grader\n'
else
out = out .. '\n'
end
end
if ( getValue('autorefractor.left.missing') == '' )
then
out = out .. 'Autorefraktion, o.sin: ' .. getValue('autorefractor.left.sphere') .. ' sf'
if ( getValue('autorefractor.left.cyl') ~= '' )
then
out = out .. ', ' .. getValue('autorefractor.left.cyl') .. ' cyl'
end
if ( getValue('autorefractor.left.axis') ~= '' )
then
out = out .. ', ' .. getValue('autorefractor.left.axis') .. ' grader\n'
else
out = out .. '\n'
end
end
return out