USER_PUNCH/USER_GRAPH > BASIC functions
LoadDatabase vs EHandler()
(1/1)
IliasBouchkira:
Dear Pr.
Why to load database in Fortran IPhreeqC there is a function EHandler? what is the use of it ? I can anderstand that it is used if there is an error with the loading of the database ?
if (LoadDatabase(Id, database_selected) .ne. 0) call EHandler()
Many thanks in advance.
dlparkhurst:
That is simply example code. As you say, the code checks whether the database was opened successfully. I'm not sure where you are getting the code, but EHandler would be a function to handle the error condition when the database is not opened successfully.
Navigation
[0] Message Index
Go to full version