[PD] how to use a dollar argument

ronny vanden bempt ronny.vandenbempt at gmail.com
Sun Apr 29 16:33:39 CEST 2007


Hey,

In several patches I had the following problem:
I make a patch that I'm going to use in another patch. To make it possible
to use several of these subpatches in the main patch, I add a dollarsign
where needed.
But when I apply this to arrays, I cannot make it work.
For example a block that applies a window. It's nothing more than a tabread
block. But I have four files with a window in. So I call the array to read:
$1-window. But when I want to read it with a message: $1-window read
gaussBig.txt, it doesn't load. Probably this is because of the ambiguity
between dollarsigns in a message and elsewhere, or maybe due to the
dollarsign not being replaced in the name of an array.
Anyone any idea how to deal with this?

I refer also to the documentation of this block on our website:
http://idafx.blogspot.com/2007/04/mapwindow-pdf-in-this-document-one-can.html

Another small problem: can you leave a graph visible in a subpatch (thus
with graph on parent selected) without seeing it in the mainpatch where this
subpatch is used in?
Because when i select graph on parent for the graph, the graph also appears
in the parent patch at the same place, being next to the block from the
subpatch.

-- 
Ronny Vanden Bempt
(0486)510841
www.ropefly.com
www.hetdepot.be
[home]riddersstraat 226, 3000 Leuven
[dom]verbindingslaan 36, 3001 Heverlee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070429/f9784245/attachment.htm>


More information about the Pd-list mailing list