18/04/2009

Something new about MsgBox

Some days ago I was taking care of a Domino web application written by others.
I was reviewing a Web Query Open (WQO) agent and suddenly I saw something weird.... some MsgBox statements all over the code!

What?! How come they use MsgBox statements? How dare they? ;-)

Pretty soon I realize that it's just a way to write messages to the Domino log /console window, since it's not possible to use Print statements... (same as in scheduled agents).

Funny!

P.S.
I usually use the OpenLog library to log WQO agents, but sometimes is handy writing directly to the Domino log. For scheduled agents I never use Msgbox since I can use Print...

No comments: