[PD] [pool] by Thomas Grill : slight problem

01ek 01ek at sat.qc.ca
Fri Apr 4 00:48:27 CEST 2003


Hello.

I am using the [pool] hierarchical storage object. for some reason, when my stored lists in any data key begin with _-1_, the and I use the GET message to read it, the value outlet gives me : list -1 0 0 0 0 .....

Instead of the list beginning with -1, as it is stored in the .dat file, the symbol _list_ is prepended to the actual value stored. It behaves similarly when the stored list begins with any negative integer. But when it begins with any positive integer or any float (positive or neagative) the value comes out as stored (with no prepend of the symbol "list").

Also, this only occurs when the data is read from the .dat file, not when the value of a key is set and retreived from ram.

This is a problem, because I patch the value outlet to an [unpack] object and it makes a difference if the first item in the list is a symbol or a float. 

am I doing something wrong? if not, is this a bug? if not, how do I work around it? is there a way to chop off the first atom in a message depending if is a symbol or a float?

thanks a lot.
Alexander
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20030403/0a59a757/attachment.htm>


More information about the Pd-list mailing list