Thread
:
Switch statement in string returning method...
View Single Post
#
4
(
permalink
)
07-06-2008, 03:50 AM
nutario
Newbie
Join Date: Mar 2008
Location: Germany
Posts: 23
Rep Power:
3
Re: Switch statement in string returning method...
If qou don't want to use "return 0;", than you can throw a exception instead.
This exception can be caught at the calling point of the function in your programm.
nutario
View Public Profile
Send a private message to nutario
Find all posts by nutario