Article View: news.software.readers
Article #25656840tude Dialog: Which programming language used for scripts?
From: VanguardLH
Date: Wed, 25 Dec 2013 22:00
Date: Wed, 25 Dec 2013 22:00
14 lines
2065 bytes
2065 bytes
Over the years, I've use pre-written scripts to alter or add behaviors or functionality to 40tude Dialog. Alas, some of them sometimes generate "index out of bounds" errors. I think it has to do when walking through the characters in strings, like the author started walking from an incorrect indexed character in the string. 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? In C and for a string on N characters in length, you would walk through indexes 0 to N-1 to look at each character in the string. For Pascal, don't you use 1 to N?
Technical Details
Message-ID:
<l9fkhh$kvt$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.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <l9fkhh$kvt$1@dont-email.me> Subject: 40tude Dialog: Which programming language used for scripts? Date: Wed, 25 Dec 2013 16:00:15 -0600 From: VanguardLH <V@nguard.LH> 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.dca3.giganews.com!backlog4.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!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: 14 Sender: VanguardLH <> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Date: Wed, 25 Dec 2013 22:00:17 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="f65692f1328d27b9dd53e0170aa8b6f1"; logging-data="21501"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19o0T3LhcZcbe/PL31RIre4Mc5YoOQ/ADk=" Keywords: VanguardLH VLH811 User-Agent: 40tude_Dialog/2.0.15.41 Cancel-Lock: sha1:x0Vu2EfGlpjqd67P/7SqGGtO/ow= X-Original-Bytes: 1767