🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #222866

Re: [dialog] re-installation

#222866
From: Ron Ford
Date: Fri, 04 Jul 2008 20:14
52 lines
2477 bytes
On Fri, 4 Jul 2008 03:37:07 -0500, Eggs Zachtly posted:

>> Ron Ford said:
>> 
>> [...]
>> 
>>> I then compiled OnStartup, and voila, it retrieved my e-mails and new
>>> headers.  
>> 
>> If you haven't figured it out, you can change the interval for the timer
>> (each 60000=1 minute).

Units are then milliseconds.
>> 
>>> What is the purpose of the extra 
>>> begin
>>> end.
>>> in all these scripts?
>> 
>> Beats the crap outta me. They gotta be there, though.  =)  I'd suppose it
>> has to do with the multiple scripts working in conjunction with each other.
> 
> On further contemplation, I think the 'extra' begin/end isn't "extra" at
> all. The first set defines the script, and the set at the end, tells the
> script to execute. That's my story, and I'm sticking to it.  =)

They all have the same form:

program OnTimer1;

procedure OnTimer1;
begin
ADo('GetNewEmailsForAllIdentities');
end;

begin
end.


program OnEvent;
procedure OnEvent;
begin
#do something;
end;
begin
end.

I wonder what other dialog scripts do people have that they like?

-- 
Life is a constant oscillation between the sharp horns of dilemmas.
H. L. Mencken
Technical Details
Message-ID: <19ktyr81kc3vb.xwvs10j074mh$.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <47c3j4jyyl3r$.7lybljvsx9gh.dlg@40tude.net> <l7s8y2st7qmf.4fxcjeq54bze$.dlg@40tude.net> <17hk2icfvis9a$.kiw0xg00lnt4$.dlg@40tude.net> <1xtmy70abvoee$.dlg@sneupie.eingang.org> <nxhva3xxgbht.1ibom6ni2doe.dlg@40tude.net> <1kb4rdhy9r3gi.dlg@sneupie.eingang.org> <zd34locokzpz$.dlg@sneupie.eingang.org>

Show Full Headers
Complete Article Headers
Message-ID: <19ktyr81kc3vb.xwvs10j074mh$.dlg@40tude.net>
Subject: Re: [dialog] re-installation
Date: Fri, 4 Jul 2008 14:14:53 -0600
From: Ron Ford <ron@nowhere.net>
References: <47c3j4jyyl3r$.7lybljvsx9gh.dlg@40tude.net> <l7s8y2st7qmf.4fxcjeq54bze$.dlg@40tude.net> <17hk2icfvis9a$.kiw0xg00lnt4$.dlg@40tude.net> <1xtmy70abvoee$.dlg@sneupie.eingang.org> <nxhva3xxgbht.1ibom6ni2doe.dlg@40tude.net> <1kb4rdhy9r3gi.dlg@sneupie.eingang.org> <zd34locokzpz$.dlg@sneupie.eingang.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 52
Reply-To: wade196884@netzero.net
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 2pslFf7mR9WQWJBsNg6kGg5cmXpvROuMwHxVstR8QHeCmbc2cr
Cancel-Lock: sha1:z6oLaEC1iOrbZG92sHy75EOtGS0=
User-Agent: 40tude_Dialog/2.0.15.84