abort() in translated programs

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

Hello Rob,

in the 2.5 alpha version of the translator, there is still that glitch
concerning abort(). When the argument to abort() is not 0, translated
programs are not compatible with interpreted programs. When the
following program:
      puts(1, "Hello!")
      abort(1)
is interpreted, it terminates immediately, as expected.

When translated and compiled, a console window pops up, showing a
blank line, and "Press Enter..." on the next line, waiting for the
user pressing [Enter], before the window closes.
So currently I cannot use arguments other than 0 to abort() like I want
in translated programs.

I would appreciate it very much, if abort() would work in translated
programs the same way as in interpreted programs.

Regards,
   Juergen

-- 
Have you read a good program lately?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu