[PD] problems with [list store]

Ingo Stock mail at ingostock.de
Wed May 9 17:35:15 CEST 2018


Well the help file states the use of "get" is with two arguments, so i
guess this is intended. A default behavior for "get" with one argument
would be a feature request, i assume. ;)

best wishes, ingo


On 05/09/2018 05:29 PM, Liam Goodacre wrote:
> Sorry, my last message wasn't clear.
> 
> The commit that you linked to seems to refer only to the help file. But
> I'm getting errors sending  "get 1" to [list store]. Is this a bug, or
> am I misunderstanding what the "get" message does?
> ------------------------------------------------------------------------
> *From:* Pd-list <pd-list-bounces at lists.iem.at> on behalf of Liam
> Goodacre <liamg_uw at hotmail.com>
> *Sent:* 09 May 2018 16:16
> *To:* pd-list at lists.iem.at
> *Subject:* Re: [PD] problems with [list store]
>  
> Is it normal that I can't do "get 1" then?
> ------------------------------------------------------------------------
> *From:* Pd-list <pd-list-bounces at lists.iem.at> on behalf of Ingo Stock
> <mail at ingostock.de>
> *Sent:* 09 May 2018 16:09
> *To:* pd-list at lists.iem.at
> *Subject:* Re: [PD] problems with [list store]
>  
> This is already fixed on github:
> https://github.com/pure-data/pure-data/commit/f83c88ba7ac68368248797ef0d0febc3526432bb.
> 
> "range" is not used anymore it should be "get" in the help file.
> 
> best, ingo
> 
> 
> On 05/09/2018 04:52 PM, Liam Goodacre wrote:
>> In 0.48.1, [list store] is going a bit wonky.
>> 
>> It looks to me like "get" is being interpreted as "range" and "range"
>> isn't being interpreted at all.
>> 
>> For instance, if I store a list, say "1 2 3 4 5",
>> 
>> "get 1" --> Bad arguments for message 'get' to object 'list store'
>> "get 1 3" --> 2 3 4
>> "range 1" --> list store: no method for 'range'
>> "range 1 3" --> list store: no method for 'range'
>> 
>> Note that because of these problems, the [until] loop in [pd example3]
>> of the list-store help file crashes my machine.
>> 
>> I'm on Ubuntu 18.04, using the repository version of PD.
>> 
>> Liam
>> 
>> 
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>> 
> 
> 
> 
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20180509/424fcd6a/attachment.sig>


More information about the Pd-list mailing list