Door Games Unlimited

Welcome, Guest.


Subject: bbs.smb_curmsg in message Date: Sun May 12 2013 19:30:00
From: Nightfox To: Digital Man

  Re: bbs.smb_curmsg in messages to you
  By: Digital Man to Nightfox on Sun May 12 2013 13:44:16

 DM> What about the bbs.msg_number property? It behaving as you would expect?

I haven't tried using bbs.msg_number yet, but so far it seems to be behaving as
I would expect.  But I'm a little hesitant to use it for
MsgBase.get_msg_header(), since it doesn't change when new messages are added
or deleted.  SlyEdit (currently) uses message indexes, since I've always
thought that was the most reliable way to reference a message.  I remember a
discussion a few months ago that I think involved using bbs.msg_number in a
calculation to come up with an absolute message number, which wouldn't
necessarily be for a message that exists.  Can bbs.msg_number be used directly
in MsgBase.get_msg_header (with the by_offset parameter as false)?

Nightfox

---
 ■ Synchronet ■ Digital Distortion BBS - digitaldistortionbbs.com

Previous Message       Next Message
In Reply To: bbs.smb_curmsg in message (Digital Man)
Replies: bbs.smb_curmsg in message (Digital Man)