Enrico,

Execution continues *AFETR* the *END* of ALL caught exceptions,  in  
all languages I know, including xHarbour. This is was NOT what I was  
talking about. Please re-read my posts.

Ron

On Jun 27, 2008, at 2:06 AM, Enrico Maria Giordano wrote:

>
> -----Messaggio Originale-----
> Da: "Ron Pinkas" <[EMAIL PROTECTED]>
> A: "Ron Pinkas" <[EMAIL PROTECTED]>
> Cc: "Eduardo Fernandes" <[EMAIL PROTECTED]>; "Maurilio Longo"
> <[EMAIL PROTECTED]>; "Xharbour-Developers List"
> <[email protected]>
> Data invio: giovedì 26 giugno 2008 18.53
> Oggetto: Re: [xHarbour-developers] Enc: Res: Next Release (RC2)
>
>
>> Miguel,
>>
>> To be more specific, my understanding is that the Catcher in Java/ 
>> C#/C
>> ++/VB etc., does NOT allow you to CONTINUE execution, from the same
>> point where the error was raised, nor replace the expression
>> producing the error with some value, so that execution can continue
>> as if the exception was NOT raised. Please correct me if I'm wrong.
>
> This is a C++ sample showing that the execution CAN continue:
>
> #include <iostream>
>
>
> int main()
> {
>     try
>     {
>         throw( "Generic error" );
>     }
>     catch( char *msg )
>     {
>         std::cout << "Exception thrown: " << msg << '\n';
>     }
>
>     std::cout << "Continuing execution...\n";
> }
>
> EMG
>
> --
> EMAG Software Homepage:     http://www.emagsoftware.it
> The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum
> The Best of Spectrum Games: http://www.emagsoftware.it/tbosg
> The EMG Music page:         http://www.emagsoftware.it/emgmusic
>
>
> ---------------------------------------------------------------------- 
> ---
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> xHarbour-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xharbour-developers
>



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to