Do we have an Exit?
Posted: Wed Apr 15, 2009 11:35 pm
Is there an Exit command or method for Cobra that I've missed? I'm looking for something that stops program execution from anywhere, probably providing an optional status code.
I found System.Environment.Exit (I'm doing this from memory, but I think that is it), which does what I'm talking about, but I'm a little surprised there isn't anything in Cobra itself to at least shortcut to that.
- Caligari
PS. I've revised the regex sample, but I've done so twice and now I want to merge the two sets of changes before I submit it again. Soon, I promise.
I found System.Environment.Exit (I'm doing this from memory, but I think that is it), which does what I'm talking about, but I'm a little surprised there isn't anything in Cobra itself to at least shortcut to that.
- Caligari
PS. I've revised the regex sample, but I've done so twice and now I want to merge the two sets of changes before I submit it again. Soon, I promise.