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 <[email protected]> on behalf of Liam
> Goodacre <[email protected]>
> *Sent:* 09 May 2018 16:16
> *To:* [email protected]
> *Subject:* Re: [PD] problems with [list store]
>  
> Is it normal that I can't do "get 1" then?
> ------------------------------------------------------------------------
> *From:* Pd-list <[email protected]> on behalf of Ingo Stock
> <[email protected]>
> *Sent:* 09 May 2018 16:09
> *To:* [email protected]
> *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
>> 
>> 
>> _______________________________________________
>> [email protected] mailing list
>> UNSUBSCRIBE and account-management -> 
>> https://lists.puredata.info/listinfo/pd-list
>> 
> 
> 
> 
> _______________________________________________
> [email protected] mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to