[Jprogramming] break from loading a script with 'load'

Raul Miller rauldmiller at gmail.com
Tue Aug 31 15:31:44 UTC 2021


It's tempting to suggest that a bare

   return.

would serve.

But maybe it should be a different, invented keyword (to distinguish
0!:0 contexts from 3 :0 contexts)?

Thanks,


--
Raul

On Tue, Aug 31, 2021 at 11:28 AM Henry Rich <henryhrich at gmail.com> wrote:
>
> I have wanted this often.  If we could reach consensus on what the best
> end-marker would be, I'll look into putting it in.
>
> Henry Rich
>
> On 8/31/2021 8:27 AM, 'Rudolf Sykora' via Programming 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
>
>
> --
> This email has been checked for viruses by AVG.
> https://www.avg.com
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm


More information about the Programming mailing list