🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #162015

[Dialog] Script using zRas.ds Include File won't compile

#162015
From: Nevans
Date: Fri, 04 Feb 2005 21:21
32 lines
2000 bytes
Dialog 2.0.14.1 (beta 37)

I've been using Dialog for well over a year and am now trying to add
code to both my OnStartup and OnTimer1 scripts to check for an active
internet connection before the program tries to download anything from
my subscribed newsgroups.  I'm following the instructions at 
http://www.40tude.com/dialog/wiki/index.php/HandleDialupConnections 

and have added the line:
 
($I zras.ds) 

plus corresponding code to my OnStartup script.  But when I compile the
script, it looks like there is a problem in the zRas Include file
because I get the following error:

Failed when compiling
[Error] zRas.ds(27:26): Syntax error

Here is the line in question (which doesn't seem syntactically different
to me than the line preceding it):

      szPhoneNumber: array[[0..128]] of Char;

I created the file zRas.ds by copying the include's code from 
http://www.40tude.com/dialog/wiki/index.php/ScriptzRas 
into Notepad and saving zRas.ds in Dialog's Scripting/Custom folder.

I hope one of you Dialog experts can help!

Thanks,
Nevans
Technical Details
Message-ID: <1mdz8f1zmfuu5$.dlg@ID-200090.user.uni-berlin.de>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1mdz8f1zmfuu5$.dlg@ID-200090.user.uni-berlin.de>
Subject: [Dialog] Script using zRas.ds Include File won't compile
Date: Fri, 4 Feb 2005 15:21:56 -0600
From: Nevans <nancyevans731@hotmail.com.invalid>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 32
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net FMFI94ujIRxkXhYwmBD2GAfPKmS+5i+dxPy8E9M0y6peL+GeaU
User-Agent: 40tude_Dialog/2.0.14.1