Article View: news.software.readers
Article #258689Scripting Functions in 40tude Dialog
From: Sqwertz
Date: Fri, 12 Dec 2014 07:07
Date: Fri, 12 Dec 2014 07:07
21 lines
1822 bytes
1822 bytes
Why is when I try and write or modify scripts in Dialog I always seem to run into unknown built-in functions? Are only a subset of the Delphi functions available in the Dialog scripting host? Or maybe built around an old version of Delphi that does not support these functions? Specifically, how do you assign a date to TDateTime variable? All the references for Delphi say this is how it's done: var toDate : TDateTime; ...... toDate := EncodeDateTime(2015, 12, 31, 23, 59, 59, 0); Compiler error is: Failed when compiling: Unknown identifier 'EncodeDateTime' Every time I have to use Delphi in Dialog I find myself banging my head against the wall! -sw
Technical Details
Message-ID:
<1c0y615tqd78p$.dlg@sqwertz.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20141227.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <1c0y615tqd78p$.dlg@sqwertz.com> Subject: Scripting Functions in 40tude Dialog Date: Fri, 12 Dec 2014 01:07:31 -0600 From: Sqwertz <swertz@cluemail.compost> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20141227.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: Me, Myself, and Inc. Lines: 21 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Injection-Info: mx02.eternal-september.org; posting-host="25267948b74595c2af949a00d0309401"; logging-data="14693"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+9a9VGR6w3a9f3uqzrlmEf" User-Agent: MacSOUP/2.7 (Mac OS X version 10.3.9) Cancel-Lock: sha1:S/Rtv8OmfMEziNI/nojy+AJeVLQ= X-no-archive: yes