[PD] Pass External Argument as Output on Creation

christof.ressi at gmx.at christof.ressi at gmx.at
Sat Jul 23 10:21:34 CEST 2016


Can you tell what do you want to achieve exactly? How do you know that the object you want to pass the data to already exists? Couldn't you use something like an 'init' method together with loadbang or initbang to pass the argument to other objects in a deterministic way? This would seem much safer to me...
If you really want to do it on creation time, just pass the argument(s) to your outlet(s) right in the new-method. Again, not sure if that's a good idea at all!

-----Ursprüngliche Nachricht-----
Gesendet: Freitag, 22 Juli 2016 um 12:51:15 Uhr
Von: "Ricky Graham" <rickygrahammusic at gmail.com>
An: pd-list at lists.iem.at
Betreff: [PD] Pass External Argument as Output on Creation
Hi all,

Quick question for C folks: what’s the best way to pass an arg (e.g. [object 2]) to an outlet immediately on creation? Curious to know if I’m going about this in the most efficient way possible.

Cheers!

Ricky
_______________________________________________
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