[PD] [Pd] / as separator for list2symbol?

Frank Barknecht fbar at footils.org
Mon Nov 19 20:41:27 CET 2007

Chuckk Hubbard hat gesagt: // Chuckk Hubbard wrote:

> I'm setting up an elaborate system to save 8 subpatches to
> abstractions, and read from arbitrary abstractions on loading.  The
> only way I can find to do this is using the [pd open $1( message.
> This message takes arguments /file/ and /path/.  [openpanel] outputs
> complete path.  Now I'm trying to take the filename off the end of
> that symbol and put the rest back into a pathname.  [symbol2list /]
> works fine to separate it, then [list length]-[- 1]-[list split] works
> fine to get the filename; but I can't seem to reassemble the path with
> [list2symbol /].  Is there any way to enter / as the separator?

It should work just like that. Could you post an example demonstrating
where it doesn't? Btw.: [list-l2s /] from [list]-abs works as well.

 Frank Barknecht                                     _ ______footils.org__

More information about the Pd-list mailing list