hello,
i could not find any hints in the archives, so:
when i want to set the label of a canvas from 0 to 5 (numbers) by sending
[1( | [; ( [nameofcanvas label $1(
i get: error: Bad arguments for message 'label' to object 'cnv'.
if i send anything with characters, it works. though -is this a bug? -is there a way to convert the number to character-encoding without using any external?
thanks, rainer.
Zitat von rainer kohlberger rainer@kohlberger.net:
is there a way to convert the number to character-encoding without using any external?
You were on the right track so far. The only thing missing was to use [symbol].
d.
Sorry Rainer,
Disregard my last mail!
I forgot one thing. I'm away from my PD machine right now.
Try this:
[1< | [makefilename] | [label $1< | [send canvas-receive-name]
Then in the properties of the canvas, name the receive to match the send above.
There is some help on this subject in the PD Documentation Project. Google for the address, download the zip and unpack it in your 5.doc folder.
best, d.
Zitat von rainer kohlberger rainer@kohlberger.net:
hello,
i could not find any hints in the archives, so:
when i want to set the label of a canvas from 0 to 5 (numbers) by sending
[1( | [; ( [nameofcanvas label $1(
i get: error: Bad arguments for message 'label' to object 'cnv'.
if i send anything with characters, it works. though -is this a bug? -is there a way to convert the number to character-encoding without using any external?
thanks, rainer.