Hi Michal, In your first line you are already doing what I would do, which is to use [ to separate the different results.
goxy xy [ bgc 4 [ fgc 9 You can continue to do that as long as you get the order right and lower things vertically would precede the upper ones fgc 15 [ puts '[' [ goxy xy [ bgc 4 [ fgc 9 or perhaps I am misunderstanding what you are trying to do. Cheers, bob > On Jul 25, 2021, at 17:00, Michal Wallace <[email protected]> wrote: > > I love the new '{{' and '}}' ... > > what are the chances we could bring '..' back as a statement separator, at > least inside these new double curly braces? > > Often I have a bunch of really short lines that I would love to just stick > on one line, like this demo code from the terminal library I'm working on: > > while. -. keyp'' do. > goxy xy [ bgc 4 [ fgc 9 > puts '[' > fgc 15 > puts 4{. s=.1|.s > fgc 9 > puts']' > sleep 150 > end. > > I can easily stick these on one line with @ or [: but the code winds up > feeling very backward, so I find myself just using newlines and wasting a > lot of vertical space on my screen. > > One answer here is to make a mini-language for terminal operations that I > can just pass as a string, but there are other places where I find myself > wishing I could just write a sequence of expressions (evaluated > right-to-left as usual) but all on one line, and sequence them from left to > right... (I use K at work, and this is a pretty natural style) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
