Re: not all code paths return a value

From: Esteban404 (Esteban404_at_discussions.microsoft.com)
Date: 12/17/04


Date: Fri, 17 Dec 2004 05:09:04 -0800

That's very interesting. I'll look into that documentation. I do not see that
before. I have it working now, but I will try to mark up the previous code
and see if it fires with returns in the other blocks.

Thanks again, J.V.!

"Ravichandran J.V." wrote:

> You cannot create a method that returns a string only if the try is
> successful because the compiler expects the return statement for this
> function in the catch or the finally block too.
>
> with regards,
>
>
> J.V.Ravichandran
> - http://www.geocities.com/
> jvravichandran
> - http://www.411asp.net/func/search?
> qry=Ravichandran+J.V.&cob=aspnetpro
> - http://www.southasianoutlook.com
> - http://www.MSDNAA.Net
> - http://www.csharphelp.com
> - http://www.poetry.com/Publications/
> display.asp?ID=P3966388&BN=999&PN=2
> - Or, just search on "J.V.Ravichandran"
> at http://www.Google.com
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!
>



Relevant Pages

  • Re: ANNOUNCE: SHA-224 in Digest::SHA
    ... >Documentation and download information for this module are available at: ... >Regards, Mark ...
    (sci.crypt)
  • Re: Example Code - Named Pipes (Python 2.4 + ctypes on Windows)
    ... I am quite familiar with Mark Hammond's win32all. ... I wish that there was more documentation of win32all beyond ... Best Regards, ...
    (comp.lang.python)
  • Re: Windows Backup Utility in SP2 seems to be broken
    ... > Regards. ... > Mark K Vallevand Mark.Vallevand@xxxxxxxxxx ... please contact the sender and delete the e-mail ... > and its attachments from all computers. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Meeting Floyd
    ... Mark Hickey wrote: ... it's the documentation as supplied by Floyd's team and filtered ... create a certain perception and conclusion, and that's what Floyd is ... have heard all the evidence. ...
    (rec.bicycles.tech)
  • Re: Meeting Floyd
    ... Given the discrepancies made painfully clear in the documentation ... Mark, let me say it again: ... the evidence is presented. ...
    (rec.bicycles.tech)