Subj : Messagebase skipping a number
To   : Digital Man
From : Nightfox
Date : Sat Nov 19 2016 07:22 pm

Hi DM,

Today, while using my custom JS message reader, I noticed that one of my
message sub-boards appears to be skipping an offset.  For example, message
number 3405 (offset 3404) doesn't seem to exist.  My message reader sees
messages 3404 and 3406 as valid messages, but there's nothing at message number
3405 (which would be offset 3404).  When I use the built-in reader, it skips
that message but the numbers are sequential - According to the built-in reader,
message number 3405 seems to be what my reader thinks is 3406.  In the
JavaScript interface, I had thought that message offsets would all be valid
between 0 and the number of messages in the messagebase.  Is that not the case?
In the JavaScript interface, is it necessary to go through all message offsets
to make sure a valid message can be retrieved?

Nightfox

---
� Synchronet � Digital Distortion: digitaldistortionbbs.com