Challenge...
Ton Kuypers
tkuypers at dmp-int.com
Tue Jun 20 18:10:34 EDT 2006
:-)
Thanks Jim, this was what I was missing, works like a charm!
Warm regards,
Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.com
On 20-jun-06, at 22:15, Jim Ault wrote:
> There are other strategies for reading a file into memory using
>
> open file fn
> put 1 into x
> put 50000000 into y
> repeat forever
> read from file fn from x for y characters
> if it is empty then exit repeat --no more chars to process
>> filter it with "*/Separation*"
>> replace "#20" with space in it
> put cr & it after vColors
> read from file from x for y characters
>> filter it with "*/DeviceN*"
>> replace "#20" with space in it
>> replace "]" with "" in it
> put cr & it after vColors
> add y to x
> end repeat
> close file fn
> filter vColors without empty
>
> --check the docs for details
>
> Jim Ault
> Las Vegas
>
More information about the use-livecode
mailing list