oh, what it does is that it adds in the beggining of the pd file something like the line

'#X declare -path else'

the declare object is saved anywhere in the Pd file and it doesn't matter where, so I was actually correct in my first message.

Em qua, 14 de ago de 2019 às 21:14, Alexandre Torres Porres <porres@gmail.com> escreveu:
actually, it seems Pd always saves declare at the top of the Pd file, so you don't need to worry and do that yourself ;) 

Em qua, 14 de ago de 2019 às 21:10, Alexandre Torres Porres <porres@gmail.com> escreveu:
On Thu, Oct 11, 2018, 9:29 AM Ed Kelly via Pd-list <pd-list@lists.iem.at> wrote:
This puts the [declare] object at the start of the.pd file, so the library will be loaded before the patch.

[declare] can be anywhere of the .pd file, it always succeeds in loading externals