[PD] convert symbol to int
Roman Haefeli
reduzierer at yahoo.de
Sun Jun 12 13:55:39 CEST 2005
hi
you can use a really bad hack, if you don't want to use any externals.
just put a [netsend]/[netreceive]-pair between (see attachment). it
seems, that this takes the 'headers' of the list elements away and
converts msgs to what you would see, when you print them.
but be aware that you cannot do this when triggering [symbol 234], since
you will loose control over the execution order. (it's just a very bad
hack)
roman
federico wrote:
> B. Bogart ha scritto:
>
> > Maybe [set float $1 < ?
> >
> > I dunno..
>
> nope.
>
> with set float $1 any symbol is converted to zero.
>
> do i really need an atoi() (or stoi()) external?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: very_bad_hack.pd
Type: application/octet-stream
Size: 546 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20050612/b69d2144/attachment.obj>
More information about the Pd-list
mailing list