comp.lang.tcl
[Top] [All Lists]

How to turn a very long list into smaller lists

Subject: How to turn a very long list into smaller lists
From: Mel
Date: Fri, 30 May 2008 07:30:40 -0700 PDT
Newsgroups: comp.lang.tcl

I have a list that is very long and I need to break it into smaller
lists of say 50 elements (the original list is a muliple of 50.

as for now I am just using lrange function which is extremy slow on a
long list of say 100000 items.

thanks in advance

Mel

PS: is there an option on the split command to do this ?

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy