[Opensim-users] JavaScript scripting
Brent Seidel
brentseidel at mac.com
Thu Jun 11 23:47:45 UTC 2009
I decided to be daring and enabled the JavaScript language. However,
when I try to compile the example simple program:
-----------------
//js
function default_event_state_entry()
{
llSay(0, "This is an incredibly useless program.");
}
-----------------
I get the following error message:
-----------------
Primitive: Error compiling script:
Compiler failed to produce the assembly. Stderr='
Unhandled Exception: System.Exception: must create expr stm with
at Microsoft.JScript.Parser.Statement (Microsoft.JScript.AST
parent) [0x00000]
at Microsoft.JScript.Parser.Parse () [0x00000]
at Microsoft.JScript.Parser.Parse (System.String source_string,
System.String source_location, Int32 line_number) [0x00000]
at Microsoft.JScript.Parser.ParseAll () [0x00000]
at Microsoft.JScript.Vsa.VsaEngine.Compile () [0x00000]
at Mono.JScript.Driver.Main (System.String[] args) [0x00000]
', Stdout='/tmp/30c02dce/16343061.0.js (2, 0): error: msg.reserved.id
'
-----------------
I understand that non-lsl scripting is a bit of a black art. Is this
something that should get a mantis filed or something that I'm doig
wrong?
thanks,
brent
More information about the Opensim-users
mailing list