On Sat, May 31, 2014 at 7:09 AM, Jon Hough <[email protected]> wrote:
> In any file where I want to use this function do I need to define it as > above? > It seems that such a function is fairly important and I'm just wondering > why it is not in the standard library? > Hi Jon, it is likely a delicate balance between what is core and belongs and stdlib and what is useful, but not applicable everywhere. I have never needed to use the view function and probably won't. It's probably better to have a reasonable list of standard functions instead of including the kitchen sink. I would suggest adding it to your own version of a utils.ijs (or something similar) and loading that from your scripts. For example, see Henry Rich's utils.ijs: http://www.jsoftware.com/jwiki/HenryRich?action=AttachFile&do=view&target=utils.ijs ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
