Door Games Unlimited

Welcome, Guest.


Subject: Re: Reading the scan_ptr for the 'mail sub' Date: Sun Mar 22 2015 19:28:09
From: Khelair To: Nightfox

  Re: Reading the scan_ptr for the 'mail sub'
  By: Nightfox to Khelair on Sun Mar 22 2015 08:29:47

 Ni> I've been working on a new message reader, and I've found that the
 Ni> msg_area, and it seems to me that the "mail" is a special case in that
 Ni> the msg_area.grp, msg_ara.sub, etc. arrays don't seem to be defined for
 Ni> the "mail" area.  Those arrays seem to be only defined for the
 Ni> sub-boards.  So, I don't think there is a last-read pointer, etc.
 Ni> defined for the "mail" area.  If you want to find the last read message
 Ni> for a user in the "mail" area, you'll need to go through all messages in
 Ni> the "mail" area, look for the ones written to the current logged-in
 Ni> user, and look at the 'attr' field in the message headers and find the
 Ni> last one that has the MSG_READ attribute set.  For example, something
[snip]

  Wow.  Well, not the answer that I was hoping for, but an excellent response
for information and solution.  Much appreciated.  :)

  -D/K

---
Borg Burgers:  We do it our way; your way is irrelevant.
 ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet://tinfoil.synchro.net

Previous Message       Next Message
In Reply To: Reading the scan_ptr for the 'mail sub' (Nightfox)