cancel
Showing results for 
Search instead for 
Did you mean: 

How to exit from while loop

Former Member
0 Kudos

Hi

    I want to exit from loop if error is encountered.

THanks

Accepted Solutions (0)

Answers (1)

Answers (1)

pedro_magueija
Active Contributor
0 Kudos

Hi Sonu,

This is not a question related to the SDK. This is more of a coding question you should probably try something like StackOverflow or MSDN forums for that next time.

Regarding your question it depends on the language you are using. If you are using c# you can use the keyword "break;" inside an if that checks for the error. In VB you can use "Exit For" or "Exit While".


Best regards,

Pedro Magueija


View Pedro Magueija's profile on LinkedIn