Article View: news.software.readers
Article #256581Re: 40tude Dialog: Which programming language used for scripts?
From: VanguardLH
Date: Sun, 29 Dec 2013 02:32
Date: Sun, 29 Dec 2013 02:32
31 lines
3290 bytes
3290 bytes
Jernej Simonฤiฤ <jernej@deepthought.ena.invalid> on 28/12/2013 wrote: > on Wed, 25 Dec 2013 16:00:15 -0600, VanguardLH wrote: > >> In what programming language are scripts written? I thought it was >> Delphi (aka Object Pascal). If so, doesn't the zeroth element (index 0) >> of a string hold the length of the string and is not part of the string >> itself? > > Dialog uses InnerFuse Pascal Script engine (now RemObjects Pascal Script) - > the same one Inno Setup uses (though Dialog's is obviously older version). I have to wonder about script interpretation within Dialog since too often I get "index out of bound/range" errors. Yet after looking at the code, there is nothing that would be out of range (specifically the for or while loops which use indexing to walk through lines in the message or characters in each line). Also, the some scripts where this error occurs will run just fine for days or weeks and then get the error. As such, and even if there were a debug mode, like walking through the script when the event fires that runs it (which there is not), you would waste tons of time debugging an instance that won't error trying to capture the one that dores. Another script gets an out of range error on every execute. It seems the scope or context of the scripts is incomplete or faulty. There is no documentation on the context for the scripts, even to describe what parameters can be passed to or from them. Sometimes I see scripts that have the 'program' block, a 'procedure' block, but no 'function' block that calls the 'procedure' block. Other times all 3 code blocks are there. Tis a pity scripting was a primarily an insider feature.
Technical Details
Message-ID:
<l9o1jc$ski$1@dont-email.me>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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!linux1.netconx.de!news.iks-jena.de!news1.tnib.de!feed.news.tnib.de!news.tnib.de!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mailReferences:
<l9fkhh$kvt$1@dont-email.me> <1cp3wusg86dqq$.dlg@eternallybored.org>Show Full Headers
Complete Article Headers
Message-ID: <l9o1jc$ski$1@dont-email.me> Subject: Re: 40tude Dialog: Which programming language used for scripts? Date: Sat, 28 Dec 2013 20:32:09 -0600 From: VanguardLH <V@nguard.LH> References: <l9fkhh$kvt$1@dont-email.me> <1cp3wusg86dqq$.dlg@eternallybored.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!linux1.netconx.de!news.iks-jena.de!news1.tnib.de!feed.news.tnib.de!news.tnib.de!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: Usenet denizen Lines: 31 Sender: VanguardLH <> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 8bit Injection-Date: Sun, 29 Dec 2013 02:32:12 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="f65692f1328d27b9dd53e0170aa8b6f1"; logging-data="29330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18QMZizDOnb+thOX/JTznKERkBsHqTyVB8=" Keywords: VanguardLH VLH811 User-Agent: 40tude_Dialog/2.0.15.41 Cancel-Lock: sha1:gd8ldHIdLGYFyH1zLpxlZVdaXDY= X-Original-Bytes: 2942