🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #139914

Re: [Dialog] Scripting String type

#139914
From: Liz Albin
Date: Sat, 27 Dec 2003 02:05
31 lines
2030 bytes
On Sat, 27 Dec 2003 14:54:11 +1300, Warwick wrote:

> Any help most appreciated.

Looking at this function:

 FUNCTION ExtractHeaderValue( HeaderKey : string ): string;
    VAR
      i, strpos : integer;
      tmp : string;
    BEGIN  
      Result := '';  
      i := 0;  
      
      memo.Lines.SaveToFile(OutputPath+'memotest.txt');
      
     WHILE (i < memo.Lines.count-1) AND (Result = '') DO
     BEGIN
         
         tmp :=  memo.Lines.Strings[i];   
         info.Add(tmp);               
         i := i+1;
      END;  
      Info.SaveToFile(OutputPath + 'Info.txt'); 
      Halt := true; //parse one post only
    END;

I notice that neither Result nor ExtractHeaderValue is ever set.
Perhaps this is a problem?
-- 
liz
Technical Details
Message-ID: <3fece90f$0$4754$61fed72c@news.rcn.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!rcn!feed3.news.rcn.net!not-for-mail
References: <1b6u8igdk34r0$.a6efjxy49gi9.dlg@40tude.net> <3fec4018$0$4751$61fed72c@news.rcn.com> <cpggdl6fzows$.e509dp8nmg5f.dlg@40tude.net> <3fece09c$0$4761$61fed72c@news.rcn.com> <jajhoqqonc5e.1q1m1s6565rcw$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <3fece90f$0$4754$61fed72c@news.rcn.com>
Subject: Re: [Dialog] Scripting String type
Date: Fri, 26 Dec 2003 21:05:36 -0500
From: Liz Albin <lizalbin@yahooNotThis.com>
References: <1b6u8igdk34r0$.a6efjxy49gi9.dlg@40tude.net> <3fec4018$0$4751$61fed72c@news.rcn.com> <cpggdl6fzows$.e509dp8nmg5f.dlg@40tude.net> <3fece09c$0$4761$61fed72c@news.rcn.com> <jajhoqqonc5e.1q1m1s6565rcw$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newshosting.com!news-xfer2.atl.newshosting.com!diablo.voicenet.com!rcn!feed3.news.rcn.net!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.9.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archive: yes
Lines: 31
NNTP-Posting-Host: 207.237.44.199
X-Trace: 1072490767 reader3.news.rcn.net 4754 207.237.44.199:4173
X-Complaints-To: abuse@rcn.com