Here's how:

1. convert your data files (comma delim, or whatever) to blocks.
   You can use the script on www.rebol.com in user-lib to do it.

2. Now you can loop over the data easily with a foreach or a while
   loop.

Check out the example on the web site.... then ask a few questions here.
About 5 lines of code to do what you want.

-Carl


At 12/1/99 10:47 AM -0500, you wrote:
>
>
>Please elaborate on this for process
> to handle standard comma delimited files (or tab delimited files)...
>
>Any more pointers on the words  set [ x1 x2 x3 x4 ... ] record
>
>I know about "set"  , but what is "record".... is that a word or just your
>example value.
>
>
>
>
>
>From: [EMAIL PROTECTED] on 12/01/99 03:46 AM GMT
>
>
>
>Please respond to [EMAIL PROTECTED]
>
>
>
>To:   [EMAIL PROTECTED]
>cc:    (bcc: Doug Vos)
>Subject:  [REBOL] 1000's of objects's in array - Works find for me... Re:
>
>
>
>
>And, if each record is identical, then you can skip the objects altogether.
>Instead, just map the record to variables as you need:
>
>   set [field1 field2 field3 ...] record
>
>Saves a lot of mem space....
>
>-Carl
>
>
>At 11/30/99 04:34 PM -0500, you wrote:
>>
>>
>>If you are talking simple objects - no embedded functions (in each object).
>>
>>I have scripts that do that every day with thousands of objects in a
>>block/series.
>>
>>I read in a flatfile database with about  16 fields and 1900 records...
>>converting to objects as I parse the data.
>>
>>Works great.
>>
>>So, my suggestion would be to just try it and see how large it will scale
>>before you think it won't work.
>>
>>- doug
>>
> 

Reply via email to