[PD] [text] gives output also when line-number out of range?
msp at ucsd.edu
Mon May 16 22:00:14 CEST 2016
I don't know what the most desirable behavior would be... the 'bang' is
to indicate that there's nothing there. I don't know if this is less or
more trouble to dealwith in the majority of cases. In my imagination at
least, one would query the text for the number of lines if one wanted to.
Anyhow it's been that way for a while so probably not wise to change it now.
On Wed, May 11, 2016 at 12:38:20PM +0200, rolfm at dds.nl wrote:
> [text define -k kopie]
> against my expectations, i do get output on the first outlet when the
> line-number is out-of-range.
> [print] says it's a bang.
> is there a specific reason for this behaviour?
> 'normally' there would be a bang on the righthand outlet like in [text
> sequence] and e.g.[textfile] object.
> with the present behaviour it seems necessary to have an extra object to
> take care of this first outlet bang.
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
More information about the Pd-list