basically that works too. however, it gets a bit messy once you have nested 
loadbangs because these will get called more than once (I don't know why). as 
long as you doesn't relay on loadbangs firing exactly once, this shouldn't be a 
big problem, though.

> Gesendet: Donnerstag, 16. Februar 2017 um 17:43 Uhr
> Von: Jack <j...@rybn.org>
> An: pd-list@lists.iem.at
> Betreff: Re: [PD] Question about loadbang and dynamic sub-patches
>
> Hello David,
> 
> Set you message box like :
> 
> ;
> pd-WORKSPACE clear;
> pd-WORKSPACE obj 20 20 loadbang-test;
> pd-WORKSPACE loadbang
> 
> ++
> 
> Jack
> 
> 
> 
> 
> Le 16/02/2017 à 17:18, David a écrit :
> > Hi!
> > 
> > I have a question about the expected behaviour of loadbang when it's
> > used in a sub-patch that's built dynamically. It appears that it isn't
> > getting triggered. I've attached a simplified example. 
> > 
> > Should it get triggered? Does anyone know of a workaround for this? In
> > other words, something that's functionally equivalent? I want certain
> > events to happen once when I build a sub-patch dynamically, to
> > initialize some objects. I guess I could use creation arguments to do
> > that, but I'd rather not have to do that.
> > 
> > Thanks,
> > David.
> > 
> > 
> > 
> > _______________________________________________
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> 
> > https://lists.puredata.info/listinfo/pd-list
> > 
> 
> 
> _______________________________________________
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
>

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

Reply via email to