> This is such a weird programming language :) It is... And despite being plenty of documentation online, this one seems to be mastering me (and i usually love programming)
> Am 01.03.2020 um 21:05 schrieb Tarquin Wilton-Jones via Therion > <[email protected]>: > > I do seem to like answering my own questions. > > 3 days searching for the solution and ... > > if A = (-1,1): sfx:="ulft"; > elseif A = (0,1): sfx:="top"; > ... > if Foo = "b" > thelabel.scantokens(sfx)(txt, pos); > ... other stuff ... > else: > p_label.scantokens(sfx)(thetext,P,R,style); > fi; > > Yes, scantokens can be used inline, as a function-like call that returns > an actual suffix token which becomes part of the macro's suffix when the > macro is subsequently called. > > This is such a weird programming language :) > _______________________________________________ > Therion mailing list > [email protected] > https://mailman.speleo.sk/listinfo/therion _______________________________________________ Therion mailing list [email protected] https://mailman.speleo.sk/listinfo/therion
