[PD] Loading order of pd objects

Frank Barknecht fbar at footils.org
Wed Feb 25 21:50:29 CET 2009


Hallo,
Robert Gr?ndler hat gesagt: // Robert Gr?ndler wrote:

> For example when i create a patch with 2 objects that are not connected 
> in any way,
> in which order will they be created by pd when the patch is loaded ?

The order you created them, but it's very bad practice to rely on that,
because it's an implementation detail that may change in future
versions and it's generally error prone because you cannot see the
creation order.

You can test this with an abstraction that prints something with a
loadbang, like:

testme.pd: 

 [loadbang]
 |
 [f $1]
 |
 [print]

testme-for-real.pd:

 [testme 1]
 [testme 2]

Then open testme-for-real.pd again.

Ciao
-- 
Frank




More information about the Pd-list mailing list