Re: [PD] data structures - get symbol?

2006-11-19 Thread João Miguel Pais

This should work since 0.39, but as always with data structures: This
is an area that's changing a lot with every new Miller-Pd so I'd
recommend to use 0.40 instead. With that, you can [set] and [get]
symbol fields as shown in attached patch. Setting them on creation
with [append] doesn't seem to work yet, however, at least I couldn't
make it work.


thanks, it works fine on the latest version of pd-ext. I guess (I hope)  
that the next step would be implementing the symbols in [append], so that  
an extra [set -symbol] must not be used. Is Mr. Miller on the house? :)


one more question though: I tried to apply the [get] help patch in my  
patch, but it didn't work. in the following picture, when I press traverse  
pd breaks up. on the other hand, like in your patch connecting directly  
[append] to the get pointer (through the inlet which is now disconnected)  
it works when the structures are created, but I can't make it work after  
that.attachment: get.jpg
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] data structures - get symbol?

2006-11-19 Thread Frank Barknecht
Hallo,
João Miguel Pais hat gesagt: // João Miguel Pais wrote:

 one more question though: I tried to apply the [get] help patch in my  
 patch, but it didn't work. in the following picture, when I press traverse  
 pd breaks up. on the other hand, like in your patch connecting directly  
 [append] to the get pointer (through the inlet which is now disconnected)  
 it works when the structures are created, but I can't make it work after  
 that.

 [traverse pd-SUBPATCH, bang( 
 | 
 [pointer]

will output a pointer to the start of [pd SUBPATCH], but not a pointer
to an actual scalar. You need to use [next( for that or directly:
  
  [traverse pd-SUBPATCH, next(
  |
  [pointer]

Ciao
-- 
 Frank Barknecht _ __footils.org_ __goto10.org__

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] data structures - get symbol?

2006-11-19 Thread João Miguel Pais

 [traverse pd-SUBPATCH, next(
  |
  [pointer]


hmm, komisch.

I had also tried out with next (I thought I had sent the picture with it).  
the result is the same, pd quits when the [next( after the traverse comes.  
there's also another structure type on the same subpatch, but I guess that  
that shouldn't interfere, right?


Joao

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list