Exception handling

The Pixie
29 Nov 2013, 12:25
Is there any way to do this in Quest? Not been able to find anything.

Alex
29 Nov 2013, 13:36
Nope, but why do you need to?

The Pixie
29 Nov 2013, 14:40
I want to have a Text Processor functionality that will call a function, and I want to be able to deal with the function not existing.

try {
return (eval (function + "()"))
}
catch {
return ("[Oops, function does not exist]")
}

Alex
29 Nov 2013, 16:41
Is there any benefit to having the text processor calling an arbitrary function? You can't pass any parameters in your approach. Why not just concatenate the function result and call it in the usual way?