🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #139339

[Dialog] Yet another lame scripting question :) (and a suggestion)

#139339
From: Marko37
Date: Mon, 15 Dec 2003 14:09
20 lines
2312 bytes
I'm interested mostly in event scripts which change incoming/outgoing
messages (OnBeforeSending and OnBeforeSaving), and I could use a couple
of hints on TStringlist variables? That is the message:tstringlist.
First, what functions/procedures are there xcept message.add,
message.insert? How to delete an entire line? For example I don't want
message.strings[15] and want to delete it and shift others up one level.
Why can't I compile a script that uses message.strings[i] as an ordinary
string variable (in procedures and functions)? I get "exception while
compiling" so I have to use additional variable, let's say s1:string :=
message.strings[i], do whatever I want with it, and in the end to do
message.strings[i]:=s1.
Any good online tutorial (or pdf document) to ObjectPascal, other the one
mentioned in Dialog help?

And to Marcus: another round of localization?

-- 
I prefer to remain anomalous.

email2: znepber@tnyro.rgs.ot.np.lh - rot to decode
Technical Details
Message-ID: <qkov69yokjh3$.dlg@lj4X0r.org>
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!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.newsreader.com!newsreader.com!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!ast-p196.beotel.NET!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <qkov69yokjh3$.dlg@lj4X0r.org>
Subject: [Dialog] Yet another lame scripting question :) (and a suggestion)
Date: Mon, 15 Dec 2003 15:09:50 +0100
From: Marko37 <vuja@37.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!border1.nntp.aus1.giganews.com!nntp.giganews.com!feed2.newsreader.com!newsreader.com!news2.telebyte.nl!fu-berlin.de!uni-berlin.de!ast-p196.beotel.NET!not-for-mail
Newsgroups: news.software.readers
Organization: Klub Budalastih Babuna, Inc.
Lines: 20
NNTP-Posting-Host: ast-p196.beotel.net (194.106.170.196)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 1071498305 4632205 194.106.170.196 ([149479])
X-Face: ./Iyf!u(N\'up#=y6brL]rn2zIIdkg9_~rPFP]fx`}gz:c7gO~4:GIM+; uUU$@;
 mR7Asr9R
 OcI0[>m7XUqyw1WZl97#h2&FnqYQHg1Qcb>4ro/~i1ta~gtzQAha~R=<1XN:9?zCu}xoGWKfFc6DUp
 h3.aa]tUvo6A#u*OQ^TN4?cA=q)V(BfV:yAVbPK_+mwZ7I<o0%#fH,u\E?atp(WF
User-Agent: 40tude_Dialog/2.0.5.1 Hamster/1.3.23.191