On Thu, Nov 06, 2008 at 01:36:27PM +0100, Frank Barknecht wrote:
Chris McCormick hat gesagt: // Chris McCormick wrote:
This problem has been 100% solved already:
http://www.network-theory.co.uk/docs/pylang/importstatement.html
The described way of doing things is a win-win for developers and for users; both get maximum flexibility. I can't think of any good reason why we are still debating this and [declare] and [import] on this list.
However: as I understand Miller's intentions, [declare] is not meant to be the same as [import]! [declare -*path] modifies the full Pd search path, which includes the search path for files that are not objects, e.g. soundfiles with no complete path for [soundfiler]. [import] however - if I understand Hans' intentions correctly - only modifies the object search path and loaded libraries.
Ok yes, I see. Please excuse my ignorance in that regard. Though I still think that we can look at other languages that have solved this issue. Sorry for my weak contribution! :/
Chris.