I have a structural question... I'm guessing that it'll come down to a matter of tastes, but...
Is it better (looking, working, compiling, etc...) to do an exit sub, or to allow the sub to finish normaly by the use of if statements?
i.e. -
orCode:'Hard or Forced Method Public Sub example() If (conditions are not right) then exit sub 'Do subroutine code... End sub
What do you guys think?Code:'Soft Method Public Sub example() If (conditions are right) then 'Do subroutine code... End If End sub
Any efficiency concerns with something like this?




Reply With Quote