function check_notes(Branch) declare function set_property, fieldcount, get_property, msg, dialog_box * begin condition * pre: * post: * end condition $insert msg_equates $insert note_ptrs_equ if xlate( 'NOTE_PTRS', @user4, 'NEW_MESSAGES', 'X' ) then NotePtrRec = xlate( 'NOTE_PTRS', @user4, '', 'X' ) if NotePtrRec = 'Yes' then * the top one is new meaning they got a new one MsgInfo = '' MsgInfo = '!' Mtext = 'You have a new message from ':NotePtrRec:'.' MsgInfo = MText MsgInfo = -2 MsgInfo = -2 Void = msg( '', MsgInfo ) end end Return 0