Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-21 Thread Derek Kwan
Ingo Stock writes: > On 05/20/2018 02:12 PM, Derek Kwan wrote: >> As a side note, I don't really particular about this situation right now >> and don't have a use case as of yet, but it looks like both the $$ >> approach and the tosymbol approach don't work with trying to

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-20 Thread Derek Kwan
Ingo Stock writes: > Now this works without error messages, combining some of the approaches > in this thread. > > ingo > > > On 05/15/2018 03:47 PM, Ingo Stock wrote: >> But it works by creating the message with set and changing messages! >> >> [set obj 30 30 array define,

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Ingo Stock
Now this works without error messages, combining some of the approaches in this thread. ingo On 05/15/2018 03:47 PM, Ingo Stock wrote: > But it works by creating the message with set and changing messages! > > [set obj 30 30 array define, adddollsym $2-$3( --> [( does the trick. > > See also

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Ingo Stock
But it works by creating the message with set and changing messages! [set obj 30 30 array define, adddollsym $2-$3( --> [( does the trick. See also attached working demo. On 05/15/2018 03:26 PM, Roman Haefeli wrote: > On Tue, 2018-05-15 at 14:09 +0200, Christof Ressi wrote: >>> [obj 20 20

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Roman Haefeli
On Tue, 2018-05-15 at 14:09 +0200, Christof Ressi wrote: > > [obj 20 20 array define $$1-snd0] > > this only works as long as you don't save and reopen the patch, where > "$$1" will become "$\$1" (which is resolved to "$\\$1" instead of > "\\$1"). I see. Thanks for pointing it out. Roman

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Jack
Don't know if this could help for your case... ++ Jack Le 15/05/2018 à 13:15, Derek Kwan a écrit : > > Hello list, > > Perhaps a bit of a long shot and pretty much the exact opposite of the $0 > in messages conversations as of late: Is there a way to NOT resolve > dollar arguments in

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Ingo Stock
Hi, usually this is not necessary. As $0 changes with every patch opening, the dynamically created objects containing $0 must be recreated again every time. $0 resolves to an actual number in this process (i.e. 1023), but this is alright, as you can access 1023-array1 through [array get

Re: [PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Roman Haefeli
On Tue, 2018-05-15 at 04:15 -0700, Derek Kwan wrote: > Hello list, > > Perhaps a bit of a long shot and pretty much the exact opposite of > the $0 > in messages conversations as of late: Is there a way to NOT resolve > dollar arguments in messages and/or objects? I think you cannot dynamically

[PD] Escaping/not resolving dollar argts in msgs/objects?

2018-05-15 Thread Derek Kwan
Hello list, Perhaps a bit of a long shot and pretty much the exact opposite of the $0 in messages conversations as of late: Is there a way to NOT resolve dollar arguments in messages and/or objects? Example case: Lately for a project I've wanted to create vast swaths of [array define]s and I've