Hallo, derek@x-i.net hat gesagt: // derek@x-i.net wrote:
dollar signs can be used to pass creation arguments to objects within a patch.
thus [delwrite $1 $2] inside a patch named [mypatch 10 1000] is the same as [delwrite 10 1000]
for more info, check the documentation control examples: 14. dollarsigns
Yes, but $0 is special in that it is replaced by a unique number for each abstraction (not for each subpatch!).
Also it is worth mentioning that argument passing like you described only works for abstractions (real *.pd-files) but can not be used for passing args to subpatches like [pd somesubpatch args]:
In [pd somesubpatch 10 1000] 10 and 1000 will simply get ignored.
Frank Barknecht _ ______footils.org__