>There's an example similar to what you need to do in the Examples
>stack (card 6).
>
>The best way to do this depends mostly on how often you need to search
>that data.  If only occasionally, you're probably better off just
>keeping the data in a custom property and using offset() or
>lineOffset() to do the lookups.  Using associative arrays is mostly
>useful if you have to do a lot of lookups quickly, or if the data is
>compressed in the process of indexing (as in the word-count example).
>Arrays, like fields, are relatively inefficient at storing large
>amounts of textual data because it expands some when stored this way.
>   Regards,
>     Scott

>There is also an example of importing a file and splitting it into an array
>on our web site, the article "Text Management" - go down to the heading
>"Splitting up large amounts of data to perform text matching operations".
>
>Regards,
>
>Kevin

Thanks Scott & Kevin - I'll look at both to see what I can do with 
associative arrays.

Cheers
Peter

--------------------------------------------------------
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
Tel: +44 (0)1509 268843 Fax: +44 (0)870 052 7576
E-mail: [EMAIL PROTECTED]
Web: http://www.reidit.co.uk

This is the MetaCard mailing list.
Archives: http://www.mail-archive.com/metacard%40lists.best.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm

Reply via email to