On 2017-12-28 15:20, Christof Ressi wrote:
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( :-)
thanks a lot for this in-deep knowledge !
bug reported !
best
oliver