Help / Release / J 5.01 / Error Messages Include Script Name

From J Wiki
Jump to navigation Jump to search


>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release



Error Messages Include Script Name

initial writing: 2002-06-27
last updated: 2004-10-21


An error message now includes the name of the current script (but only if the script is unlocked). For example:


   2 3+4 5 6                           no script
|length error
|   2 3    +4 5 6

   '2 3+4 5 6' 1!:2 >'\junk\foo.ijs'   create a script

   0!:1 >'\junk\foo.ijs'               run the script
|length error
|   2 3    +4 5 6
|[-0] c:\junk\foo.ijs

   load 'c:\junk\foo.ijs'              open foo.ijs in a window and hit ctrl-w
|length error: script
|   2 3    +4 5 6
|[-0] c:\junk\foo.ijs



>> << Pri JfC LJ Phr Dic Voc !: Rel NuVoc wd Help Release