🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Serg Markov Serg Markov Fri, 21 May 2004 04:41
Dialog, error in script JustifyMessage
#148625
Author: Serg Markov Serg Markov
Date: Fri, 21 May 2004 04:41
15 lines
1810 bytes
while (Pos ('Newsgroups: ', Message.Strings [[lineNo]]) = 0) or (lineNo
= Message.Count - 1) do
                               ^ error -   string 59
LineNo := lineNo + 1;

Dialog 2.0.12.1.b35 Win98SE

How to decide  problem? 
As it is possible to use this script  for the task quoting  in style
FIDO I.e. SM >, where SM - initials of the author of the quoted message,
and as it can be made?
Thanks.

----------------------------------------------------
Serg Markov markovinfido [*] rambler.ru
Re: Dialog, error in script JustifyMessage
#148773
Author: Doktor
Date: Mon, 24 May 2004 09:01
25 lines
2386 bytes
21 may, 6:41 *Serg Markov wrote:

> while (Pos ('Newsgroups: ', Message.Strings [[lineNo]]) = 0) or (lineNo
> = Message.Count - 1) do
>                                ^ error -   string 59
> LineNo := lineNo + 1;
> 
> Dialog 2.0.12.1.b35 Win98SE
> 
> How to decide  problem?

Sorry. There was a bug in script on Wiki's page. Problem was with doubled
brackets. Remove one of them.

Now, it should be:
while (Pos ('Newsgroups: ', Message.Strings [lineNo]) = 0) 
  or (lineNo = Message.Count - 1) do        ^      ^   
                                            
                                           
The same problem is at other lines. I think, Wiki editor replaced "[" with
"[[" and "]" with "]]" but I don't know why. :)

-- 
Doktor
http://usenetowa.lameriada.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads