- Home /
This post has been wikified, any user with enough reputation can edit it.
Question by
I_hate_c_sharp · Jul 19, 2014 at 02:35 PM ·
javascripterrorbugsemicolon
semicolon expected while semicolon is present
I have this code on my main menu script:
var infoText : GUIText
function Start()
{
infoText.text = "Running jetflyer beta 1.1 on " + SystemInfo.deviceModel + "\nSystem memory present: " + SystemInfo.systemMemorySize.ToString() + " mb" + "\nSystem OS: " + SystemInfo.operatingSystem; + "\nGraphics: ";
}
And I get two errors:
1 Assets/gui.js(27,207): UCE0001: ';' expected. Insert a semicolon at the end.
2 Assets/gui.js(27,207): BCE0043: Unexpected token: ;.
Is this a bug or am I making a stupid mistake?
Comment
Your answer
Follow this Question
Related Questions
HELP! Most GUI Text mysteriously nudged upwards after update.. 1 Answer
Exception: Il2cp did not run properly. 2 Answers
Why OnMouseDown stops working? 2 Answers
Prefab SerializedProperty weird error, bug? 2 Answers
Releasing to app to apple. 2 Answers