I'd see how abusing {{ .. }} holds up to abuse. Enclose a few hundred
megabytes of text in curlies and see if J can absorb it without crashing.

To paraphrase, "spare the rod, spoil the software."

On Tue, Aug 31, 2021 at 9:09 AM Devon McCormick <[email protected]> wrote:

> I thought of "0 : 0" too as a solution for this but it gets terminated by
> any embedded single closing paren which you would have as part of a
> function definition.
> I like Raul's idea of abusing the double-curlies notation.
>
> On Tue, Aug 31, 2021 at 11:01 AM Hauke Rehr <[email protected]>
> wrote:
>
> > I usually abuse 0:0 for block comments.
> >
> > Am 31.08.21 um 16:21 schrieb Raul Miller:
> > > In recent J implementations (j902, j903), you can wrap the unwanted
> > > section of the script in {{ }}.
> > >
> > > This will defer execution of those lines and then discard them (which
> > > is somewhat fortuitous, since execution of that kind of definition
> > > would probably be bad).
> > >
> > > I hope this helps,
> > >
> > >
> > > --
> > > Raul
> > >
> > > On Tue, Aug 31, 2021 at 8:27 AM 'Rudolf Sykora' via Programming
> > > <[email protected]> wrote:
> > >>
> > >> Dear list,
> > >>
> > >>
> > >> if I load a (longer) script, I sometimes want to ignore a part of it
> > >> beyond a certain line. Is there a way to achieve that gracefully? (I
> > >> sometimes just add something syntactically wrong to stop there, on an
> > >> error).
> > >>
> > >>
> > >> Thank you.
> > >> Ruda
> > >> ----------------------------------------------------------------------
> > >> For information about J forums see
> http://www.jsoftware.com/forums.htm
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> > >
> >
> > --
> > ----------------------
> > mail written using NEO
> > neo-layout.org
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
>
>
> --
>
> Devon McCormick, CFA
>
> Quantitative Consultant
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>


-- 
John D. Baker
[email protected]
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to