Foen
August 5th, 2008, 17:59
I have created a script module, which will eventually be used to supplement the Notes list functionality. However, whenever it loads I get the error:
Script Error: [string "scripts/notemanager.lua"]:1: unexpected symbol near 'ï'
Note that the 'ï' symbol is not the letter I, but something similar with two dots over it.
At this stage the script file is trivial:
notenode = nil;
function onInit()
notenode = nil;
end
The code in base.xml is:
<script name="NoteManager" file="scripts/notemanager.lua" />
I guess the problem is some control character (such as a wayward ctrl-z) but I can't see how to get rid of it.
Any help please?
Cheers
Stuart
Script Error: [string "scripts/notemanager.lua"]:1: unexpected symbol near 'ï'
Note that the 'ï' symbol is not the letter I, but something similar with two dots over it.
At this stage the script file is trivial:
notenode = nil;
function onInit()
notenode = nil;
end
The code in base.xml is:
<script name="NoteManager" file="scripts/notemanager.lua" />
I guess the problem is some control character (such as a wayward ctrl-z) but I can't see how to get rid of it.
Any help please?
Cheers
Stuart