🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Steve Wertz Sun, 21 May 2006 05:05
[Dialog] Script Language Reference?
#185372
Author: Steve Wertz
Date: Sun, 21 May 2006 05:05
8 lines
1548 bytes
As much as a loathe to learn yet another scripting language, I
find myself seeking out the language reference, but can't seem to
locate it.

Maybe it's staring me in the face, and I'm subliminally blocking
it out.  Or maybe it's just not documented very well in English.

-sw
Re: [Dialog] Script Language Reference?
#185382
Author: Christophe Huguet
Date: Sun, 21 May 2006 13:11
19 lines
1608 bytes
Le 21/05/2006 à 07h05, Steve Wertz a écrit :

> As much as a loathe to learn yet another scripting language, I
> find myself seeking out the language reference, but can't seem to
> locate it.
> 
> Maybe it's staring me in the face, and I'm subliminally blocking
> it out.  Or maybe it's just not documented very well in English.

In the Help window, search for "scripting".

Excerpt : "Scripts in Dialog are written in the Object Pascal language,
as known from Borland's Delphi."

Amicalement,

Christophe

Re: [Dialog] Script Language Reference?
#185410
Author: Steve Wertz
Date: Sun, 21 May 2006 23:27
47 lines
2681 bytes
On Sun, 21 May 2006 15:11:31 +0200, Christophe Huguet wrote:

> Le 21/05/2006 à 07h05, Steve Wertz a écrit :
> 
>> As much as a loathe to learn yet another scripting language, I
>> find myself seeking out the language reference, but can't seem to
>> locate it.
>> 
>> Maybe it's staring me in the face, and I'm subliminally blocking
>> it out.  Or maybe it's just not documented very well in English.
> 
> In the Help window, search for "scripting".
> 
> Excerpt : "Scripts in Dialog are written in the Object Pascal language,
> as known from Borland's Delphi."

OK, that helps.  I saw some references to Pocoscript, too.  The
scripting language for Pocomail (a commercial MUA).  Maybe also
written in Delphi <shrug>.

But it still doesn't tell me enough.

For instance, where is it documented the datatypes and arguments
sent by/to triggers?  And the effect of returning (boolean?)
values back to dialog?

And what are the built-in procedures/constants referenced here:

Program SkipToNextThread;
  Begin
    lockdisplay;
  try
    dropmarker;
    ADo('CollapseThread');
    ADo('NextMessage');
    dropmarker;
    prevmarker;
    prevmarker;
    nextmarker
  finally
    unlockdisplay;
  end;
End.

These don't look like Delphi procedures.
 
-sw
Re: [Dialog] Script Language Reference?
#185447
Author: Enrico Bauer
Date: Mon, 22 May 2006 18:19
17 lines
1680 bytes
22.05.2006 01:27:05, *Steve Wertz*:
> And what are the built-in procedures/constants referenced here:

It's all in there. Save, compile and run this as a custom script!

Program ShowCommands;
Begin
  Writeln(GetActionList);
End. 

You have to know the code to get the code. ;-)

HTH
Enrico
-- 
No fear. No distractions. The ability to let that
which does not matter truly slide.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads