Hi, [import] was part of Extended. If I am not mistaken, it worked in Extended because of some changes to the core code specific to it, hence it was never an external or did not ever work in Vanilla

[declare] is Vanilla's [import] and something that came about later, making [import] just part of history and something to be forgotten...

Many help files you find from external libraries in deken still use [import] just because it's the same file that was part of Extended and never got updated. But then, anyone can update them and reupload them.

cheers

Em sáb., 6 de jan. de 2024 às 05:28, Peter P. <peterparker@fastmail.com> escreveu:
Hi list,

I am wondering if there are any considerations amongst developers to
allow the upgrade of externals/libraries through deken eventually?

I have just discovered the [import] library, described on [1] as "Aiming
to provide a simplified Python-style import for Pure Data, this import
object loads libraries as part of a patch. It will load anything that Pd
considers a library, including libraries that are defined by Pd loaders
like 'libdir'. "
Do I understand it correctly that it will automatically load externals
that are used in a patch without having to explicitly use [declare -lib
...]?

Oh, and [import] seems to be unavailable through deken, which makes me
believe that it is possibly an older project?

Thanks for all hints!
P

[1] https://packages.debian.org/bookworm/puredata-import



_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list