Page History
...
Msg(@window, ErrMsg)
See also
Example
Code Block |
---|
Subroutine DemoMAPILogoff(var) * Logs on to MAPI and logs off $INSERT MAPI_EQUATES Declare Function MAPILogon, MAPILogoff Declare Subroutine Msg, Get_Status if MAPILogon(session) then if MAPILogoff(session) then Msg(@window, "Logon and logoff successful") end else Get_Status(display) Msg(@window, display) end end else Get_Status(display) Msg(@window, display) end return |