SwordAngel
New Member
- Joined
- Aug 2, 2009
- Messages
- 11
How do I test for an evaluation error and specify an alternative value without repeating myself?
The only way I know is to use "if(iserror([...]),[...])", which is tedious and forces me to repeat myself (in "iserror()" and at the last argument of "if()").
Is there a simpler syntax like in some general purpose programming languages? E.g. "somefunction()?«alternate value»"
The only way I know is to use "if(iserror([...]),[...])", which is tedious and forces me to repeat myself (in "iserror()" and at the last argument of "if()").
Is there a simpler syntax like in some general purpose programming languages? E.g. "somefunction()?«alternate value»"
Last edited: