Re: [PD] numeric order

2011-06-20 Thread Frank Barknecht
On Sun, Jun 19, 2011 at 07:20:02PM +0200, Mirko Maier wrote:
 hi everybody,
 
 i have textfile like
 
 1 this;
 4 my;
 3 is;
 10 file;
 
 and i would like to put it into numerical order, so that the final result is
 
 1 this;
 3 is;
 4 my;
 10 list;
 
 the only possibility i found was a recursive use of minmax, but i have huge
 lists and then it is very cpu-expensive. is there any object for numerical
 ordering or something shorter than using minmax? thanks for hints.

[m_symbolarray] in the rj library can do this. It's a kind of array or [table]
that stores symbols instead of numbers.

Ciao
-- 
 Frank BarknechtDo You RjDj.me?  _ __footils.org__

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] numeric order - pool?

2011-06-19 Thread IOhannes m zmölnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06/19/2011 07:42 PM, Mirko Maier wrote:
 hi list,
 
 i found the pool object, which presumably can put a textfile into numeric 
 order, but i don't find the way. can anybody help? 
 

if you don't care for vanillaness, then you could use zexy's [fifop] (a
fifo with priorities), and use your numeric ID as priority.

msdft
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3+SJEACgkQkX2Xpv6ydvT8YQCeNu08hTdz89cVUkFZSD5k6uM8
TOIAnjHy6hU+cAZjYD3AWbyjfkGJUyAM
=/UKG
-END PGP SIGNATURE-

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] numeric order

2008-03-03 Thread Thomas Grill

Hi,
you can do that with pool. It has a method for ordered output.
gr~~~

Am 03.03.2008 um 14:42 schrieb Mirko Maier:


hi list,
i have a textfile with lists in each line, always starting with a  
number.
i would like to create a new textfile where all these lines are  
sorted in numeric order now.


so e.g. i have a textfile with this content:

44 hello joe;
2 3 part 4;
9 say hi;
5 88 999 33;

and the result should be:

2 3 part 4;
5 88 999 33;
9 say hi;
44 hello joe;

are there any objects helping me, doin it in pd?

greets,
mirko
--
Pt! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Thomas Grill
http://g.org




smime.p7s
Description: S/MIME cryptographic signature
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list