My maplet runs perfectly correctly and as expected when I run it directly from the worksheet.
However, when I export the worksheet to a .maplet file, it will not run and only gives the error:
At line 135, syntax error: reserved words `quit`, `done`, or `stop` unexpected.
According to wordpad, line 135 of the .maplet file is the last line of both the .maplet file and of the worksheet. It contains the statement:
There are no `quit`, `done`, or `stop` words anywhere visibly in the worksheet.
What is happening and how do I get the maplet to run?