textfile outputs lists i believe... if you want to convert simple 1 word lists into symbols, just run them through a [symbol] object. if you want to turn longer strings like "this is a line in my textfile" into a single symbol with the spaces you can run that though [list2symbol].
dont worry about it, the datatypes stuff in pd is the most confusing and painful part, confusion exected :)
Reduzent wrote:
hi handling text with pd is not that easy. i think i didn't understand e quite elementar thing in pd. what is the diffrence between symbols (generated by msgbox like[symbol dog] or [openpanel]-output) and the output from [textfile]-obj. both can be printed out, but you can't do anything with the [textfile]-output.
i'd like to output single words from a textfile using the [textfile]-obj and handle them like symbols. how can i create symbols from [textfile]-output?
thanxs for helping
Roman
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list