[Jprogramming] Calling a function N times
emacstheviking
objitsu at gmail.com
Thu Dec 24 23:02:14 UTC 2020
Hi Joey,
Hear hear! Long live the command line.
Once browser UI madness has peaked we'll be running IBM3270 sessions in
them again.
On Thu, 24 Dec 2020 at 22:27, Joey K Tuttle <jkt at qued.com> wrote:
> Inspired greetings - thanks Hauke and Raul.
>
> My own angle (not code) on it is that I read the emails on my iPhone (a
> little tedious) and tried copy/paste of the lines into iOS j - but it
> didn't work because of the IDE...
>
> So, logging into my Pi4, using Terminus (a terminal emulator Roger D Moore
> would approve of), starting a j session and pasting worked just fine (even
> though Raul's lines were wrapped as displayed in iPhone mail message ;-)
>
> So - my angle is that ....
>
> In the beginning, was the command line.
>
> http://bpi.1e6.com/files/In_the_Beginning_was_the_Command_Line.pdf
>
> Long live the command line!
>
> And a Happy Holiday Season to all!
>
> - joey
>
> > On 2020 Dec 24, at 10:46 , Raul Miller <rauldmiller at gmail.com> wrote:
> >
> > Hmm... email often wraps at around 72 characters, and I did not feel
> > up to the task of squeezing this into a single line not exceeding that
> > limit. However, maybe a two line approximation might still be
> > acceptable?
> >
> > n=:#z=:(^~<:4){.a.{~({.i. at -)/0 1*&p:5 12
> > cutopen(n|-/\.)&.(z&i.)'sxjqzdl abmgoutkkgvaxds'
> >
> > Thanks,
> >
> > --
> > Raul
> >
> > On Thu, Dec 24, 2020 at 9:41 AM Hauke Rehr <hauke.rehr at uni-jena.de>
> wrote:
> >>
> >> my attempt at expressing them in J
> >>
> >> greeting =: '+#007';'&+5,670$6';'*';'%.+*2'
> >> o =: >./ q: ". > (, , [)&.>/ greeting
> >> o =: o + +`*:`%:`<:"0 , $&> |. greeting
> >> o (4 : '(+&x)&.(a.&i.)&.> y')"0 greeting
> >>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list