[REBOL] help List with block and occurrence
From: lp::legoff::free::fr at: 22-Jan-2004 17:53
hi rebolers !
Needs help for a little piece of code :
I call in a foreach loop some datas from a block :
foreach [name date hour remark] my-structured-block [
....
]
datas in block looks like :
user1 01-01-2004 08:07 test1
user1 01-01-2004 08:02 test2
user1 01-01-2004 08:04 test3
user2 01-01-2004 08:10 testx
user2 02-01-2004 10:11 testn
user1 02-01-2004 11:25 testi
user3 02-01-2004 12:48 testj
....
not regular ...
I want to get after my loop result (block ? array ??) by day, and classified
by unique names and number of occurrence with them like :
01-01-2004 [ user1 3 user2 1]
02-02-2004 [ user1 1 user2 1 user3 1]
Is someone could help me ?
Thanks,
Philippe