🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #162394

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

#162394
From: Nevans
Date: Thu, 10 Feb 2005 23:32
55 lines
3134 bytes
On Fri, 4 Feb 2005 22:28:08 -0600, Nevans wrote in
<news:19lnrg58re2mi.dlg@ID-200090.user.uni-berlin.de>:

> On Fri, 4 Feb 2005 15:21:56 -0600, Nevans wrote in
> <news:1mdz8f1zmfuu5$.dlg@ID-200090.user.uni-berlin.de>:
> 
>> 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
> 
> I'm really having fun talking to myself!
> 
> In the original version of zRas.ds include file mentioned above, it
> looks like the problem is that a bunch of lines have double brackets [[
> and ]] instead of single brackets [ and ].  I changed all double
> brackets to single brackets (there were quite a few), compiled the two
> scripts, and things are working for me with the "modified original"
> zRas.ds include file.
> 
> I'm thinking that http://www.40tude.com/dialog/wiki/index.php/ScriptzRas
> could (should?) be changed ....

In case anyone needs it, just wanted to feedback here the script was
edited today to remove the extraneous brackets.

Nevans
Technical Details
Message-ID: <1duk3xbcyzpro$.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.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1mdz8f1zmfuu5$.dlg@ID-200090.user.uni-berlin.de> <19lnrg58re2mi.dlg@ID-200090.user.uni-berlin.de>

Show Full Headers
Complete Article Headers
Message-ID: <1duk3xbcyzpro$.dlg@ID-200090.user.uni-berlin.de>
Subject: Re: [Dialog] Script using zRas.ds Include File won't compile
Date: Thu, 10 Feb 2005 17:32:10 -0600
From: Nevans <nancyevans731@hotmail.com.invalid>
References: <1mdz8f1zmfuu5$.dlg@ID-200090.user.uni-berlin.de> <19lnrg58re2mi.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.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Lines: 55
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net EO+DFX9DrGsQJIZW6SY0XgS0IJXlOySrgDTYi8DWhtMVq2m9d3
User-Agent: 40tude_Dialog/2.0.14.1