From: dBit AS
I have tried using the GetGlobalStr function for a kind of "associative
arrays" (like Perl).
EditFile("customer.lst") ---> 10001Customer name # 1
Repeat 10002Customer name # 2....
Key = GetText(1,5)
Data = GetText(6,30)
SetGlobalStr(Key,Data)
StopIt()
Message(CurrLine())
Until Not Down()
After about 255 (I guess) loops this slows down significantly. Is there
a smarter way to accomplish this ? How many SetGlobalStr/Int variables
can be created - are there any limit at all ??
By the way: I finally got my 2.5 .UI converted to 2.8 - ready for 3.0 :)
- SOI -
---
---------------
* Origin: apana>>>>>fidonet [sawasdi.apana.org.au] (3:800/846.13)
|