.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

'End' substiture

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
junoj
487 Views, 3 Replies

'End' substiture

In vba it was very convenient to use “END” the exit a sub at any point. I have a lot of code that I am trying to translate to .net  . I was hopeful if I could find a “END” substitute so that I do not have to rewrite a lot of code.

 

Thank you in advance

3 REPLIES 3
Message 2 of 4
arcticad
in reply to: junoj

You can use "Exit Sub" or "Return"

---------------------------



(defun botsbuildbots() (botsbuildbots))
Message 3 of 4
BlackBox_
in reply to: junoj

You could also simply employ code logic which would preclude the processing of additional code if the appropriate test expression(s) are not satisfied.



"How we think determines what we do, and what we do determines what we get."

Message 4 of 4
junoj
in reply to: junoj

Thank you both very much. Smiley Very Happy

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost