[PD] should 'flags' always come first?

Alexandre Torres Porres porres at gmail.com
Mon Feb 28 19:18:15 CET 2022

Em dom., 27 de fev. de 2022 às 20:58, Christof Ressi <info at christofressi.com>

> On 28.02.2022 00:26, José de Abreu wrote:
> > but on the other hand, pd also has the opposite case, where flags
> > comes in the end, they are on the text family objects, specifically
> > the [text sequence] object
> [text sequence] is really an outlier. Typically, flags come *before*
> positional arguments, but *after* "methods", see [text define]. Here the
> flags come *after* the first (and only) positional argument. To add more
> to the confusion, there is a problem with the flag parsing:
> https://github.com/pure-data/pure-data/issues/1579

Well, made a PR that fixes it and allows flags to come first, but is also
permissive of this old and "wrong" way for backwards compatibility...

> Christof
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20220228/66721209/attachment.htm>

More information about the Pd-list mailing list