thanks, that was a good beginning. but I think I didn't explain some things clearly enough:

- the object wouldn't store just one, but many lists, e.g.

output.txt output/file1.txt file2.txt "file1 3 5.txt"
output1.txt output/file1.txt file2.txt "file1 aa.txt"
output31.txt output/file1.txt file2.txt "file1 3a5.txt"
(etc.)

... and then, for example, save those lists in a text file

- ideally, the symbols coming from the filenames would be also grabbed by lua from the hard disk (if possible). Of course, I can do this with Pd as well, but as an exercise I would try everything with lua. A plus would be if long filenames would came already with "" (I imagine it would be easier to do that in lua as in pure pd?)

João



See the help browser pdlua/examples for instance ltabdump or list-pak.

Martin

On 2012-10-10 11:41, João Pais wrote:
Hi all,

in case there is someone there working with (pd-)lua, I would like to
ask the following: are there any examples on how to retrieve symbols and
add them to lists? I wanted to build textfiles mixing filenames in the
hard disk with other symbols. E.g. something like

output.txt output/file1.txt file2.txt "file1 3 5.txt" (etc etc...)

the 3rd symbol is a typical windows long filename, with "" because of
the spaces. Some of these symbols would come from the disk, some I would
add in the pd patch.

Thanks as usual,

João

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list





--
Friedenstr. 58
10249 Berlin (Deutschland)
Tel +49 30 42020091 | Mob +49 162 6843570
Studio +49 30 69509190
[email protected] | skype: jmmmpjmmmp

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to