Arthur, Further to Bill's comments, you should examine the contents of the file for unprintable chars and invalid utf8 chars.
Something is wrong with the file contents (perhaps from paste) and finding out what the problem is will allow you to fix the file and perhaps avoid the problem in the future. Look for chars with (a.i.fread file) that are less than 32 and are not proper line endings (CRLF or LF) for your host. And values >128 will indicate utf8 chars that you might not want in the file. On Wed, Jul 29, 2020 at 1:33 AM bill lam <[email protected]> wrote: > Most likely your browser turned some space to \u00a0 (no break space), you > need to convert them back to normal space during copy and paste. > > Jandroid does this conversion automatically during copy and paste. Ideally > JHS should do the same. > > On Wed, Jul 29, 2020 at 12:55 PM Arthur Anger <[email protected]> > wrote: > > > Can anyone explain or help me circumvent repeated Spelling errors when > > loading a script? > > > > In the past I have encountered some errors after copying a line or so > from > > a JHS session screen into TextEdit, and back again; it seemed to have > > picked up some extra display-control character. I have cured those by > > retyping the inter-line transition. > > > > Today's problem did not respond to that cure. It was also unusual in > > marking an error point one line ahead of the text, where it inserted > extra > > error-indicating spaces: > > > > dbr 1 [ load '/Users/ala/j64-807-user/Aliases.ijs' [ dbr 0 > > |spelling error > > | > > > > | ^ > > | gendefs2=: 3 :0 > > |[-506] /Users/ala/j64-807-user/Aliases.ijs > > > > After a modification: > > > > dbr 1 [ load '/Users/ala/j64-807-user/Aliases2.ijs' [ dbr 0 > > |spelling error > > | > > > > | ^ > > | gendefs2=: verb define > > |[-503] /Users/ala/j64-807-user/Aliases2.ijs > > > > It's not complaining about the form of the name: > > > > gendefs2 > > |value error: gendefs2 > > > > Examining the raw file shows only two consecutive linefeeds before the > > 'g', denoting an empty line. There are 92 such lines in the file, many > > occurring before this point. > > > > This problem showed up in J64-807, but It also occurs in J64-701. > > > > Thank you. > > --Art Anger > > ---------------------------------------------------------------------- > > 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
