hi oliver, looks like text sequence is broken. all the flags (-t, -w, -g) only work if you provide a text name as the first creation argument. this also means they don't work with data structure pointers.
can you file a bug report?
regarding your second question:
the -s flag needs a data structure template (struct) together with the field name. every [text define] is actually an instance of a struct named 'text' with a field called 't' (the actual text buffer). this is similar to [array define] which is an instance of struct 'float-array' with field 'z' (the actual array). see [pd define] in array-object-help.pd.
both structs live in hidden canvases. try [;pd-_text_template vis 1( and [;pd-_float_template vis 1( :-)
Gesendet: Donnerstag, 28. Dezember 2017 um 13:53 Uhr Von: oliver oliver@klingt.org An: pd-list@iem.at Betreff: [PD] [text sequence] - pointer question
hi,
i use [text] a lot and in some situations it's preferrable to use it with cord connections (via pointers) instead of names. this is explained in the [text define] helppatch and works well in most cases.
however i recently ran into a problem when i tried to use [text sequence] in that way. to be more precise, i tried the "-w" flag of [text sequence] in combination with the "-s" flag and got error messages in the console.
i attached a patch that demonstrates the problem ...
i'm not sure whether this is a bug or if i got the arguments wrong ...
on a more general level:
what is the "t" in the "-s text t" message that i have to write into i.e. [text get] when i use the pointer method ? (without the t the flag is invalid ...)
thanks for any insight
best
oliver_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list