Quality Testing

Quality is delighting customers

hi pls correct my code  , I am showing my actual problem with simple example.

 

public x

x=3

goto 0

x=x+1

 

if not x=10 then

goto 0

end if

 

print x

 

 

here what my intension is i want to execute form a particular step when if condition is not satisfied , i.e  in my actual scenario if after login if my welcome page is not opened i want to go back to starting and executing from initial.

 

 

thanx an adv

Views: 81

Reply to This

Replies to This Discussion

as per my knowl. goto statement is used after on error resume next stmt.
on error resume next
on error goto 0
means yr excepttion handling is disable.
plz let me know if i am wrong.

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2022   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service