Normally I’m quite good at fixing errors myself, but these ones are just too strange. All of these errors are Unknown Identifier errors. Did something in the JS scripting engine change recently? I think I last used the example in Unity 3.0 and it worked then.
I’m getting lots of errors that don’t make sense, like:
If you referring to a special example project it would help to include a link to it or at least post a bit more code and even more important the name or extention of the script file.
The first line “could” compile without the strict pragma but i’m not sure, i don’t use UnityScript. However if this script is writting in Unityscript just add the var keyword like this:
for(var i = 0; i < 4; i++)
The second line is clearly C# and not UnityScript (Javascript). Are those two lines from the same script? What’s the complete error?
As i’ve mentioned several times on other questions always include also the code before the error. Semicolon errors usually comes from a missing bracket or something like that.