The CATCH block handles errors. So the correct way is
TRY
acti screen
? VariableNotDefined
CATCH
ENDTRY
>HI All!
>
>I norticed that if you write this:
>
>TRY
> acti screen
> ? 'OK!'
>ENDTRY
>
>you'll havent't problem
>but if you write:
>
>TRY
> acti screen
> ? VariableNotDefined
>ENDTRY
>
>you'll receive an UnHandled structured Exception .... but in the documentation is legally write the TRY ENDTRY without CATH in the middle ... where i'm in wrong ?
>
>Now i must write this to workaround the situation:
>TRY
> acti screen
> ? VariableNotDefined
>CATCH
>ENDTRY
>
>My intention is something like this "try to make sometingh but don't care if there is an error".
>
>Can SomeOne Explain me what is the problem ?
--sb--