Dict replace

double_UG's icon

I don´t get the dict syntax, I simply want to replace pitch with another value, but "replace" deletes the other entrys.

Source Audio's icon

replace notes[0]::pitch 30

id is 0 even that dict.view lists it as 1

double_UG's icon

thanx that works.

So this is dict with an array of Note dicts??

ShelLuser's icon

There are indeed arrays involved. Try double clicking on [dict] to open its editor, it might make it a lot easier to see what structure(s) are in place.