assert. can only be used in an explicit definition. On Oct 4, 2016 3:59 PM, "Michael Berry" <[email protected]> wrote:
> It certainly does! I had no idea there were so many debugging facilities. > > On Tue, Oct 4, 2016 at 5:49 PM, Raul Miller <[email protected]> wrote: > > > assert is based on 13!:8 http://www.jsoftware.com/help/ > > dictionary/dx013.htm > > > > assert. is documented at http://www.jsoftware.com/help/ > > dictionary/cassert.htm > > > > One significant difference is that you can turn off assert. after you > > are done testing (if the performance cost becomes significant) using > > 9!:35 > > > > The other difference is that you get some control over the error > > number and messages when using assert (but of course, this extra > > control is not always a good thing - there's little good in adding > > extra noise, for example). > > > > I hope this helps, > > > > -- > > Raul > > > > > > > > > > On Tue, Oct 4, 2016 at 5:43 PM, Michael Berry <[email protected]> > wrote: > > > Is there something I can read to understand the difference between the > > > control structure assert. and the standard library function assert and > > when > > > one or the other might be preferable? > > > > > > -Michael > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
