More on FF. If there is to be preprocessing of a script to make it suitable for load, it should be done in J, rather than the front end.
load fix 'test.ijs' On Sun, Jul 18, 2021 at 3:56 PM Eric Iverson <[email protected]> wrote: > FF char (12{a.) gets a spelling error if in a script that is loaded in > linux. I think this would be the same as in windows but have not tested. > > There are lots of values that will give spelling errors. I am not sure it > makes sense to special case (i.e. ignore FF). > > If the FF is desired for its behavior in an editor, that is OK. But it and > perhaps other chars should be stripped out before being fed to load. > > On Sun, Jul 18, 2021 at 3:39 PM Henry Rich <[email protected]> wrote: > >> I will look into turning FF into LF when a script is read, & will do it >> if there are no problems. >> >> Does Linux do something to the FF? I don't see why you don't get the >> same error there as on Windows. >> >> Henry Rich >> >> On 7/18/2021 7:58 AM, Michal Wallace wrote: >> > I sometimes use the ^L character (FF, or 12{a.) in source code files to >> > divide my code into "pages". >> > >> > (I have emacs set up so that I can page back and forth showing one page >> at >> > a time without scrolling, so the top line of the page is always at the >> top >> > of the screen when that page is showing, etc.) >> > >> > I've done this with J source code with no problems in the past. It works >> > fine in jqt and in jconsole on linux, but I just discovered that if I >> try >> > to load a J script written this way in the windows version of jconsole, >> it >> > gives me a spelling error on that character. >> > >> > Is this something that could be officially supported, or do I need to >> > change my ways? :D >> > ---------------------------------------------------------------------- >> > 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 >> > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
