hi, anybody knows if is possible to store the caracter comma (,) as a symbol?
thanks.
Correo Yahoo! Espacio para todos tus mensajes, antivirus y antispam ¡gratis! RegÃstrate ya - http://correo.espanol.yahoo.com/
moin andres,
either use zexy:
[44( | [makesymbol %c] | [whatever]
or something like pd-string:
[44( | [string2any] | [symbol] | [whatever]
caveat: in neither case is it guaranteed to work like a "real" comma, e.g. as a message separator.
marmosets, Bryan
On 02/10/2006 08:15:39 PM, Andres Ferrari anfex@yahoo.com appears to have written:
hi, anybody knows if is possible to store the caracter comma (,) as a symbol?
thanks.
But unfortunately this (as I had in an earlier thread) gives ',' Didn't find any possibility yet, although I have the same problem.
Best Urs
Bryan Jurish schrieb:
moin andres,
either use zexy:
[44( | [makesymbol %c] | [whatever]
or something like pd-string:
[44( | [string2any] | [symbol] | [whatever]
caveat: in neither case is it guaranteed to work like a "real" comma, e.g. as a message separator.
marmosets, Bryan
On 02/10/2006 08:15:39 PM, Andres Ferrari anfex@yahoo.com appears to have written:
hi, anybody knows if is possible to store the caracter comma (,) as a symbol?
thanks.
On Sat, 11 Feb 2006 12:26:19 +0100 Urs Liska pd@ursliska.de wrote:
But unfortunately this (as I had in an earlier thread) gives ',' Didn't find any possibility yet, although I have the same problem.
well, don't believe, what the gui tells you ... ',' might be the same as '\,' and ',' ... one just has to realize, that pd is telling not exactly, what it's doing, and that a comma symbol can't be used as a message separator ... in general, there shouldn't be a problem in generating a comma symbol ... i just saw, that you can even do it with |symbol ,|, that will be rewritten to |symbol,|, but still seems to work ...
tim
moin all,
I just tried it out, and [symbol ,] doesn't act as a message separator for me (pd 0.39-1), but with a bit of trickery, I can get the "real" symbol "," (as opposed to "\,") that [any2string] creates to separate messages:
[44( | [any2string] | [set foo $1 bar( | [ ( /* dummy message box */ | [print haha]
... does in fact print:
haha: foo haha: bar
... whoda thunk?
marmosets, Bryan
On 02/11/2006 01:03:54 PM, Tim Blechmann TimBlechmann@gmx.net appears to have written:
On Sat, 11 Feb 2006 12:26:19 +0100 Urs Liska pd@ursliska.de wrote:
But unfortunately this (as I had in an earlier thread) gives ',' Didn't find any possibility yet, although I have the same problem.
well, don't believe, what the gui tells you ... ',' might be the same as '\,' and ',' ... one just has to realize, that pd is telling not exactly, what it's doing, and that a comma symbol can't be used as a message separator ... in general, there shouldn't be a problem in generating a comma symbol ... i just saw, that you can even do it with |symbol ,|, that will be rewritten to |symbol,|, but still seems to work ...
tim
argh; sorry -- that should have been:
[44( | [string2any] /* oops */ | [set foo $1 bar, bang( /* oops again */ | [ ( | [print huhu(
apologies, Bryan
On 02/11/2006 03:15:42 PM, Bryan Jurish moocow@ling.uni-potsdam.de appears to have written:
[44( | [any2string] | [set foo $1 bar( | [ ( /* dummy message box */ | [print haha]
Hallo, Bryan Jurish hat gesagt: // Bryan Jurish wrote:
I just tried it out, and [symbol ,] doesn't act as a message separator for me (pd 0.39-1), but with a bit of trickery, I can get the "real" symbol "," (as opposed to "\,") that [any2string] creates to separate messages:
Just in case it's not known: pd-0.39 introduced the message-method "addcomma" to add a comma to a message.
Frank Barknecht _ ______footils.org_ __goto10.org__
hi frank
i didn't know it, so thanks for the hint. btw: this reminded me to read the changelog of pd (pd/doc/1.manual/x5.html). just amazing, what i found there i didn't know before :)
roman
"Frank Barknecht" fbar@footils.org wrote:
Hallo, Bryan Jurish hat gesagt: // Bryan Jurish wrote:
I just tried it out, and [symbol ,] doesn't act as a message separator for me (pd 0.39-1), but with a bit of trickery, I can get the "real" symbol "," (as opposed to "\,") that [any2string] creates to separate messages:
Just in case it's not known: pd-0.39 introduced the message-method "addcomma" to add a comma to a message.
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de