[AccessD] USING CLSMSGDEMO

Arthur Fuller fuller.artful at gmail.com
Sat Feb 14 05:47:09 CST 2009


This one was really fun! I have one question, though. I think that I already
know the answer but want to make sure. The code...

Function mDemoMsgInit()
    If mclsDemoMsgSteve Is Nothing Then
    ...

Do we check mclsDemoMsgSteve because Steve was the first instance created?

I created a little test harness I call OfficeChatter.

Sub OfficeChatter()
    cDemoMsgGeorge.mSendMsg "Linda", "Lunch Today", "After the meeting we
will all be meeting for lunch at the deli one building over."
    cDemoMsgLinda.mSendMsg "Steve", "Tuesday's meeting", "Sorry, Steve. I
won't be able to attend the meeting."
    cDemoMsgGeorge.mSendMsg "John", "Lunch Today", "After the meeting we
will all be meeting for lunch at the deli one building over."
    cDemoMsgLinda.mSendMsg "George", "Lunch Today", "Whew! I got out of
Steve's meeting. It would be as exciting as watching paint dry."
End Sub
Clear all the breakpoints and run it, and you'll see why I named it that.

Where's my diploma, teach? :)

Arthur



More information about the AccessD mailing list