4 Jun
2011
4 Jun
'11
4:38 p.m.
hello -
Say a program needs to read a parameter file. having IMP_USAGE_CHECK to check that the file is open is not optimal because it will not show up in fast mode. assuming that i will then just have a simple IF statement, what is the best way to exit the program ? a exit(1); seems bad especially if the program should be run though a webserver and we want to notify users on the exact problem.
did someone have similar problems?
thanks, keren.