On Fri, 26 Oct 2007, Roman Haefeli wrote:
a) it is very hard to do that in pd, since message to canvasses are different from the lines in the pd-file?
No, they are not different. Lines in the pd-file are interpreted as message to a canvas using #X, a message to [canvasmaker] using #N, or a message to an array using #A.
"#N canvas" and "#X restore" will change the receiver of the receive-symbol #X so that it points to the correct canvas at all time. They use pd_pushsym and pd_popsym, which maintain a list of receivers for each receive-symbol in which only the last element is a currently active receive-symbol.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801, Montréal QC Canada