Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to email@example.com.
Halt(1) works fine for me... /Bo On Wed, 18 Dec 2002 21:17:03 -0300, "Alexandre Augusto Drummond Barroso" <adrummond at bdmg.mg.gov.br> wrote: >I need to translate my server side scripts from Python to Delphi (nobody in the >company wants to learn Python and almost all development is done with Delphi). > >I already translated some scripts into Delphi command line programs, but even >when the programs abort using Halt(1), CVSNT doesn't get an >errorlevel > 0 so it executes everything and displays >"***** CVS exited normally with code 0 *****" >in WinCVS output window. > >Does anybody knows how to exit programs in Delphi returning >the correct errorlevel I need? > >Regards, > >Zandao. /Bo (Bo Berglund, developer in Sweden)