🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #261436

Re: Request help with 40tude dialog program syntax

#261436
From: Rodney Pont
Date: Sun, 01 Jan 2017 20:45
45 lines
2585 bytes
On Sun, 1 Jan 2017 18:52:09 +0100, Stijn De Jong wrote:

>http://i.imgsafe.org/94013af980.jpg
>

Try:

program OnBeforeSendingMessage;
var
Rmv_Hdrs : String;  


Rmv_Hdrs:='foo';
Rmv_Hdrs:='bar';   
>const 
>    RemoveFromEmails = true;
>    RemoveFromNews   = true;
>procedure RemoveHeaders ( Message : TStringlist;
>                          IsEmail : boolean
>);
>

Then change Remove_Headers to Rmv_Hdrs in the RemoveHeaders procedure
at line 19 in the jpg you linked to above.

>Failed when compiling
>[Error] OnBeforeSendingMessage.ds(4:1): Duplicate identifier
>'Remove_Headers'
>
>I think I'm going to give up because I don't want to run you ragged. 
>
>It seems, for now, that it's impossible to define a variable and change it
>in 40Tude Dialog, unless n unknown but very specific Dialog syntax is used.

I suspect the problem is because Remove_Headers is being defined
elsewhere, I doubt if the problem is with the assignment. That's why
I've suggested using a different variable name.

Do they have a forum or somewhere you can ask?


-- 
Faster, cheaper, quieter than HS2
and built in 5 years;
UKUltraspeed <http://www.500kmh.com/>
Technical Details
Message-ID: <nfcnzpzcvasbuvgzrhx.oj4q842.pminews@ouse.infohit.me.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <o491jh$7jr$1@gioia.aioe.org> <o4926s$933$1@gioia.aioe.org> <nfcnzpzcvasbuvgzrhx.oj2tz62.pminews@ouse.infohit.me.uk> <o495cr$177$1@news.mixmin.net> <nfcnzpzcvasbuvgzrhx.oj2xvl5.pminews@ouse.infohit.me.uk> <o49ed3$jpp$1@news.mixmin.net> <nfcnzpzcvasbuvgzrhx.oj3ral0.pminews@ouse.infohit.me.uk> <o4ao8r$7gd$1@news.mixmin.net> <nfcnzpzcvasbuvgzrhx.oj4cen1.pminews@ouse.infohit.me.uk> <o4bfko$ntb$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <nfcnzpzcvasbuvgzrhx.oj4q842.pminews@ouse.infohit.me.uk>
Subject: Re: Request help with 40tude dialog program syntax
Date: Sun, 01 Jan 2017 20:45:40 +0000
From: "Rodney Pont" <mlist4@infohit.me.uk>
References: <o491jh$7jr$1@gioia.aioe.org> <o4926s$933$1@gioia.aioe.org> <nfcnzpzcvasbuvgzrhx.oj2tz62.pminews@ouse.infohit.me.uk> <o495cr$177$1@news.mixmin.net> <nfcnzpzcvasbuvgzrhx.oj2xvl5.pminews@ouse.infohit.me.uk> <o49ed3$jpp$1@news.mixmin.net> <nfcnzpzcvasbuvgzrhx.oj3ral0.pminews@ouse.infohit.me.uk> <o4ao8r$7gd$1@news.mixmin.net> <nfcnzpzcvasbuvgzrhx.oj4cen1.pminews@ouse.infohit.me.uk> <o4bfko$ntb$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: alt.windows7.general,news.software.readers
Lines: 47
Reply-To: "Rodney Pont" <mlist4@infohit.me.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net Zrgy5NLtDj7mRX7V/zsR8wh/3rljGyffuIbV/qT7ol7pl7raml
X-Orig-Path: ouse.infohit.me.uk!not-for-mail
Cancel-Lock: sha1:QUHGarc99vn5GWlKtvTrpmlB3bM=
X-Newsreader: PMINews 2.00.1205 For OS/2
X-Received-Body-CRC: 4095153448
X-Received-Bytes: 2456