From: ·······@alpha.ntu.ac.sg
Subject: autolisp..need urgent help pls
Date: 
Message-ID: <1995Aug25.144458@alpha.ntu.ac.sg>
hi

I will be very much appreciated if someone could show me the way to solve
this Autolisp routine problems..

Suppose I have a list such as
L = (12 23 12 12 20 20 23 12 20 40 40 12 23 20)

how could I write a Autolisp to arrange it as below
L = ((12 12 12 12 12) (20 20 20 20) (23 23 23) (40 40))

in addition, The autolisp routine should tell how many item is each
subgroup (i.e. there are five 12, four 20, three 23 and two 40)

Thank for your time, and appreciated that you reply me ASAP through
·······@ntuvax.ntu.ac.sg

Regards
Yang