Do you guys, know a way to count repeated numbers. f.e. let say I have
this pdl :

[-1 0 0 0 0 0 0 0 0 -1 0 1 1 -2 10 -2 1 2 0 0 0 1 1 -1 0 1 0 0 0 0 0
-2 0 0 -1 0 1 -1 -1 -2 -1 -1 0 0 1 -1 -1 0 0 0 1 0 0 1 -1 -1 1 1 -3 -1
0 2 0 6 3 4 5 0 -1 0 -1 -3 -2 0 1 0 1 0 0 4 -3 -5 -2 2 -1 0 1 0 -2 1 1
0 0 0 0 0 0 0 0 -1]

how would I create a pdl than contains the number and how many times
the number occurred ?
What about if I wanted to count numbers in a range...let say the pdl
had numbers between 1 and 100 and I wanted to count the numbers
between 1-10, 11-20, 21-30,...

thanks


-------| http://ifni.co

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to