Article View: news.software.readers
Article #261430Re: Request help with 40tude dialog program syntax
From: Stijn De Jong
Date: Sun, 01 Jan 2017 17:52
Date: Sun, 01 Jan 2017 17:52
31 lines
2305 bytes
2305 bytes
Op Sun, 01 Jan 2017 15:47:11 +0000 (GMT), Rodney Pont schreef:
> Try, I think assignment needs the := syntax:
> Remove_Headers:='foo';
> Remove_Headers:='bar';
The syntax for dialog scripts is utterly incomprehensible.
I had already tried a half-dozen (hit or miss) attempts and all failed.
http://i.imgsafe.org/94013af980.jpg
program OnBeforeSendingMessage;
var
Remove_Headers : String;
Remove_Headers:='foo';
Remove_Headers:='bar';
const
RemoveFromEmails = true;
RemoveFromNews = true;
procedure RemoveHeaders ( Message : TStringlist;
IsEmail : boolean
);
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.
Technical Details
Message-ID:
<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-mailReferences:
<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>Show Full Headers
Complete Article Headers
Message-ID: <o4bfko$ntb$1@news.mixmin.net> Subject: Re: Request help with 40tude dialog program syntax Date: Sun, 1 Jan 2017 18:52:09 +0100 From: Stijn De Jong <stijndekoning@nlnet.nl> 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> 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 Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Date: Sun, 1 Jan 2017 17:52:25 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="46d7e34ae788572edbb7e54209543eee4fccb20b"; logging-data="24491"; mail-complaints-to="abuse@mixmin.net" User-Agent: 40tude_Dialog/2.0.15.41 Lines: 30 X-Received-Bytes: 2281 X-Received-Body-CRC: 4137766757