When I try to run this script, I get an “Unexpected character” error for the string delimiters. It happens regardless of whether I use single, double, or triple quotes.
http://www.glowscript.org/#/user/heafnerj/folder/Joe'sStuff/program/VisualizeLeviCivita3
This program, which I wrote yesterday and the day before, works perfectly.
I’ve seen this problem before when copying text from one GlowScript window to another. Something happens, at least on Macs and iOS devices (I’m using my iPad Pro right now) that changes something about string delimiter characters. Last year I also saw it happen on Windows systems. The only fix that I know of is to NOT cut and paste text and create the program from scratch. Indeed I copied the code from the second program into the first one to save time, but with this bug it saves no time at all.
Any idea what could happen when cutting and pasting from one GS window to another to cause this error?
Joe Heafner
Sent from my iPad