[PD] pd to webpage

Thomas O Fredericks tof at danslchamp.org
Thu Oct 18 19:10:17 CEST 2007


The help is in moocow/pdstring-help.pd

Tom


On 10/18/07, Martin Peach <martin.peach at sympatico.ca> wrote:
>
> Thomas O Fredericks wrote:
>
> >What is the difference between [str] and [any2string]?
>
> I don't know. I can't find the help file for [any2string] so I don't know
> how to use it. Maybe I have to look at the source code?
>
> >If I understand correctly str is a wrapper for standard string functions
> >and
> >it's output is a pointer to a string.
>
> More or less true. There are also functions to output the string as bytes
> or
> symbols.
>
> >I believe this approach is more limited that using any2string because all
> >basic string functions can be recreated once a symbol is converted to a
> >series of bytes. For example, to split a string along a space character
> you
> >can use [list split 32], but with the [str] architecture, you need to use
> >[str csplit 32].
>
> That's one more character to type ;)
> If the web page patch could be done with [any2string] and [list] then
> sure.
> When I did the string stuff I was not aware of any other way of
> manipulating
> arbitrary lists of bytes. Pd tries to interpret anything you type and some
> characters don't get through unmangled. Even with the [str] object you
> have
> to specify them by ascii code.
>
> Martin
>
>
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20071018/b92ac04b/attachment.htm>


More information about the Pd-list mailing list