[PD] declare not posting library loading message while object creation does?
Christof Ressi
christof.ressi at gmx.at
Mon Oct 7 14:37:45 CEST 2019
> And this was sarcasm too.
damn, my sarcasm-O-meter failed miserably...
> I was using [declare -lib hid] because this is how I load libraries in general.
"-lib" is only needed for multi-object-per-binary libraries, e.g. zexy and iemlib. [declare -lib hid] doesn't do anything useful, the external will be loaded anyway when you create it the first time...
Christof
> Gesendet: Montag, 07. Oktober 2019 um 14:19 Uhr
> Von: "Peter P." <peterparker at fastmail.com>
> An: pd-list at lists.iem.at
> Betreff: Re: [PD] declare not posting library loading message while object creation does?
>
> * Christof Ressi <christof.ressi at gmx.at> [2019-10-07 14:09]:
> > > this is a feature of the hid library.
> >
> > I guess this was sarcasm :-). Usually, such messages are posted in the setup routine, as IOhannes has mentioned. Since the setup routine is called whenever you create the first instance, you achieve the same effect.
> >
> > BTW, what's the point of doing [declare -lib hid]? Or were you just experimenting?
> >
> > Best, Christof
> >
> > > Gesendet: Montag, 07. Oktober 2019 um 13:49 Uhr
> > > Von: "Peter P." <peterparker at fastmail.com>
> > > An: pd-list at lists.iem.at
> > > Betreff: Re: [PD] declare not posting library loading message while object creation does?
> > >
> > > * IOhannes m zmölnig <zmoelnig at iem.at> [2019-10-07 13:47]:
> > > > On 10/7/19 1:42 PM, Peter P. wrote:
> > > > > Dear list,
> > > > >
> > > > > I am a big fan of the [declare] object for loading libraries but its
> > > > > user interaction keeps puzzling me.
> > > > >
> > > > > Creation of [declare -lib hid] does neither post a success or failure
> > > > > message to the console, but the creation of a [hid] object itself prints
> > > > > the usual
> > > > > [hid] 0.7, written by Hans-Christoph Steiner <hans at eds.org>
> > > > > compiled on Aug 8 2013 at 07:27:37
> > > > >
> > > > > Seems like the above declare object has no function...
> > > >
> > > > yes.
> > > > this is a feature of the hid library.
> > > >
> > > > it prints a boilerplate at object instantiation time (but only for the
> > > > first object instance), rather than at library load time.
> > >
> > > Amazing feature!
> And this was sarcasm too.
>
> I was using [declare -lib hid] because this is how I load libraries in
> general.
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list