Items in alt.bbs.mystic

Subject:Re: MsgEditor/MsgEditSet
Date:Wednesday, 10 Oct 2012 16:37:00 +0000
From:"Gryphon" <Gryphon@bbs-scene.org>
Newsgroups:alt.bbs.mystic
On 10-10-12, Gryphon said the following...
 
Gr> Ok, I gave it a try.  I wrote a post-processing script to read the buffer
Gr> with MsgEditGet.  There is no mechanism to tell what the last line of the
Gr> buffer is.  I can write a loop like:
Gr> 
Gr> While I < 20 Do Begin
Gr>     S:=MsgEditGet(I)
Gr>     WriteLn(S)
Gr>     I:=I+1
Gr> End
Gr> 
Gr> And it will go on until I=20.  Even if the message buffer is only 5 lines
Gr> long.  
Gr> 
Gr> Additionally, I tried to do a MsgEditSet(I,'test line') and it didn't get
Gr> saved.
--->hello<---
Ok, I was wrong about the last part.  MsgEditSet will change the line of
text to the buffer.  But it does not seem to want to append any text to the
buffer.  It can only modify the line if it already exists.
So, in other words, I cannot 'add' a tagline to the end of the message,
even after the auto-sig.
Maybe you need a MsgEditAppend(<TEXT>) function?

pq gryphon
88 of
bd cyberia