About ExitProcess Function

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
jparada
Posts: 433
Joined: Fri Jan 23, 2009 5:18 pm

About ExitProcess Function

Post by jparada »

Hi,

I wonder if it's a good idea to use the ExitProcess function, like this:

Code: Select all

IF ! File( cIniArch+"users.dbf" )
        MsgStop( "El archivo de usuarios no existe", "Error..." )
        DBCommitAll()
        DBCloseAll()
        ExitProcess(0) 
ENDIF
Thanks

Best Regards
Javier
User avatar
apais
Posts: 441
Joined: Fri Aug 01, 2008 6:03 pm
DBs Used: DBF, Leto, MariaDB, SQLite
Location: uruguay
Contact:

Re: About ExitProcess Function

Post by apais »

Why don't you just QUIT ?
Angel Pais
Web Apps consultant/architect/developer.
Post Reply