Re: abort() in translated programs

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello Rob, you wrote:

> Juergen Luethje wrote:

[...]

>> Using the interpreter (2.3 or 2.4 Beta), this snippet runs as expected.
>> Using the translator  (2.3 or 2.4 Beta), and the Borland C++ 5.5
>> Command-line Compiler, at the end of the program a console window pops
>> up, with one blank line, and "Press Enter..." on the second line.
>>
>> I'm just making my first steps with the translator. What happens here?
>
> There may be a slight incompatibility there.
> What happens if you say:
>         abort(0)
> instead of
>         abort(1)

Ah, using 'abort(0)' the translated program is compatible with the
interpreted program. Thanks.

Best regards,
   Juergen

-- 
 /"\  ASCII ribbon campain  |
 \ /  against HTML in       |  Money is the root of all evil.
  X   e-mail and news,      |  Send 20 Dollars for more info.
 / \  and unneeded MIME     |

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu