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

Patrice Colet pat at mamalala.org
Mon Nov 19 20:45:34 CET 2007

Chuckk Hubbard a écrit :
> 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?
> -Chuckk
I'd use getdir external for this kind of trick, and save path into a list.

More information about the Pd-list mailing list