>but you see i only call the messagebox() up only 1 time in my whole app (130000 lines). what i do i have a message class which i call up, which decides in return what to do. so i don't need to remember all those different arguments.
>
Hi Gunnar,
I'm curious. I also only call messagebox() once in my app. I have a prg file (mb.prg), but I still have to call it with parameters.
Example:
.h file
#DEFINE mb_Ques 32
#DEFINE mb_YN 4
#DEFINE Ans_Y 6
endfile
if Ans_Y = mb( 'Do You Really Want to Quit ?', mb_Ques + mb_YN, 'Quitting' )
quit
else
return
endif
Don't you have to do something similar and have to remember arguments?
Bill Morris