Jump to content

handle error in TE


vick
 Share

Recommended Posts

Hi , 

I have script like below:

in loop i have for example

$a =_IEGETOBJBYID(....)

$b =_IEGETOBJBYID(....)

$c=_IEGETOBJBYID(....)

if i want to handle error , i need to write If @error then statement after every object or i can write only one after all so any object fail , it handle error like below:

 

if  $x=$y then 

$a =_IEGETOBJBYID(....)

$b =_IEGETOBJBYID(....)

$c=_IEGETOBJBYID(....)

elseif @error then 

do something

endif

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...