Am 14.10.2015 um 01:57 schrieb Allin Cottrell:
Figuring out exactly what's going wrong here, with regard to the error
message, may take a while, but a workaround is easy. Here's a revised
script:
<hansl>
open denmark
function scalar heyhey (list in)
catch var 20 in # 20 is too much -> error
if $error
return 1
else
return 0
endif
end function
if 5 < 10
list lulu = LRM LRY IBO IDE
scalar err = heyhey(lulu)
if err
print "function heyhey produced an error"
else
print "function heyhey went OK"
endif
endif
</hansl>
Ok thanks for the inspiration.
-sven