🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #139907

Re: [Dialog] Scripting String type

#139907
From: Warwick
Date: Fri, 26 Dec 2003 23:59
24 lines
1891 bytes
On Fri, 26 Dec 2003 09:04:41 -0500, Liz Albin wrote:

> On Fri, 26 Dec 2003 22:51:38 +1300, Warwick wrote:
> 
>>       tmp := Copy( memo.Lines.Strings[i], 1, 255 );
> 
> What's i?  In the code you posted there's no indication that you've set
> it.

Some value between 0 and memo.Count-1.
No I did not post the entire loop its very messy.
I have found the exercise frustrating so a lot of code is commented out and
kludged on the fly as I use the scripting host to experiment with Pascal.
The problem seems confined to the string type.


At this point I am starting to wonder if it wont be easier to rewrite
dialog in CBuilder and then code what I want to do.

Do you know if I can access AnsiString class?

cheers
Warwick
Technical Details
Message-ID: <cpggdl6fzows$.e509dp8nmg5f.dlg@40tude.net>
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!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!53ab2750!not-for-mail
References: <1b6u8igdk34r0$.a6efjxy49gi9.dlg@40tude.net> <3fec4018$0$4751$61fed72c@news.rcn.com>

Show Full Headers
Complete Article Headers
Message-ID: <cpggdl6fzows$.e509dp8nmg5f.dlg@40tude.net>
Subject: Re: [Dialog] Scripting String type
Date: Sat, 27 Dec 2003 12:59:17 +1300
From: Warwick <wjcb@extra.co.nz>
References: <1b6u8igdk34r0$.a6efjxy49gi9.dlg@40tude.net> <3fec4018$0$4751$61fed72c@news.rcn.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.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.8.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 24
NNTP-Posting-Host: 219.88.59.85
X-Complaints-To: newsadmin@xtra.co.nz
X-Trace: news.xtra.co.nz 1072483153 219.88.59.85 (Sat,
NNTP-Posting-Date: Sat, 27 Dec 2003 12:59:13 NZDT
Organization: Xtra