It seems very stupid but I am facing problem with it. I am using a subroutine which retunrs either a string or an errorcode( a signed integer ) depends on the context. The problem for me is after getting the result from subroutine I have to format varius things depends on the value that I receive. if it is a string I will presents a form or else I have to tell vaious err.states.
Speaking otherwords I have to seggreate Integers and String form ret. value from f a subroutine.