[PD] can a [clone] instance determine the total number of clones?

IOhannes m zmölnig zmoelnig at iem.at
Wed Mar 3 22:11:29 CET 2021


On 3/3/21 9:34 PM, Christof Ressi wrote:
> Yes, [clone foo 20 20] might look ugly,

well.
otoh it looks quite elegant inside the cloned abstraction:
$1 - id of current instance
$2 - number of instances
$3... - other args

i can't think of an interface to get the total number of instances 
inside the abstraction that is not much, much uglier.

somethiung like

[clones(
|
[pdcontrol]
|

:facepalm:

gfmards
IOhannes

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210303/c84010f3/attachment.sig>


More information about the Pd-list mailing list