# Thank you very much, Frank! # Using list instead of symbol solves my problem. Perhaps it will be good, if there were an equivalent of zero in symbol domain, ie. an empty symbol(?) # And a small detail: Pd couldn't create [list $1] in the scope of the abstraction. Because, if I understood correctly, [list $1] turns into [list fileName] but there isn't that kind of a list. Instead, I wrote [list append $1] and that worked. # Thanks again! -ugur guney-
On 7/21/06, Frank Barknecht fbar@footils.org wrote:
As missing arguments are initialized to 0 you can use a [select 0] to filter out unwanted arguments. Instead of [symbol $1] I would maybe use [list $1], which can deal with both symbols and floats. Then just connect the [list] to the [select] and use the right outlet of [select] to go to the [read $1( message. You can also connect a message with a default value to the left outlet of [select], which will be banged if you didn't supply an argument.
Ciao
Frank Barknecht _ ______footils.org_ __goto10.org__
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list