Subj : bbs.smb_curmsg in messages to you
To : Nightfox
From : Digital Man
Date : Sun May 12 2013 12:18 am
Re: bbs.smb_curmsg in messages to you
By: Nightfox to Digital Man on Fri May 10 2013 08:50 pm
> Re: bbs.smb_curmsg in messages to you
> By: Digital Man to Nightfox on Wed May 08 2013 23:12:28
>
> DM> The msg_offset is a 0-based offset into the index of all messages
> DM> currently in the message area (sub-board). The msg_number is the
> DM> 1-based unique number assigned to that message (and doesn't change
> DM> when new messages are added or messages are deleted).
>
> I've started examining the values of bbs.msg_offset and bbs.msg_number
> (using a "development" version of SlyEdit on my BBS). When I reply to a
> message, using the message read prompt, it seems that both bbs.msg_offset
> and bbs.msg_number are always 0, no matter which message I'm replying to.
> It doesn't seem to matter which message group or sub-board I'm
> reading/replying in, either. Not sure if this is normal?
It's as designed apparently, but unexpected. I'm making a change now in CVS
which will allow those properties to be used in more places than just the "show
message header" function (which doesn't directly use JavaScript) - that was an
oversight on my part.
digital man
Synchronet "Real Fact" #25:
The Synchronet Web Server was written predominantly by Stephen Hurd (Deuce).
Norco, CA WX: 70.2�F, 67.0% humidity, 1 mph NW wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net