You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Area of Cosmos - What area of Cosmos are we dealing with?
IL2CPU
Expected Behaviour - What do you think that should happen?
The program should build successfully
The code for part of the Kernel string textEditor() { bool inTextEditor = true; int x = 1; string[] textToSave = {"/",}; string savedText = "No text"; while (inTextEditor == true) { textToSave[x] = input; x++; if (input == "t-exit") { inTextEditor = false; } } savedText = string.Join("", textToSave); return savedText; }
Actual Behaviour - What unexpectedly happens?
Build error in IL2CPU line 1
Reproduction - How did you get this error to appear?
Paste this code into your kernel: string textEditor() { bool inTextEditor = true; int x = 1; string[] textToSave = {"/",}; string savedText = "No text"; while (inTextEditor == true) { textToSave[x] = input; x++; if (input == "t-exit") { inTextEditor = false; } } savedText = string.Join("", textToSave); return savedText; }
Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?
User Kit 20200708
The text was updated successfully, but these errors were encountered:
i have a same problem here, im trying to calculate how much fps my GUI is by dividing rendered frames by current second. But i cant use the method when the method itself returns a variables or not, I think what causes the error is the math division but i still don`t know what happen here. Please help :)
Area of Cosmos - What area of Cosmos are we dealing with?
IL2CPU
Expected Behaviour - What do you think that should happen?
The program should build successfully
The code for part of the Kernel
string textEditor() { bool inTextEditor = true; int x = 1; string[] textToSave = {"/",}; string savedText = "No text"; while (inTextEditor == true) { textToSave[x] = input; x++; if (input == "t-exit") { inTextEditor = false; } } savedText = string.Join("", textToSave); return savedText; }
Actual Behaviour - What unexpectedly happens?
Build error in IL2CPU line 1
Reproduction - How did you get this error to appear?
Paste this code into your kernel:
string textEditor() { bool inTextEditor = true; int x = 1; string[] textToSave = {"/",}; string savedText = "No text"; while (inTextEditor == true) { textToSave[x] = input; x++; if (input == "t-exit") { inTextEditor = false; } } savedText = string.Join("", textToSave); return savedText; }
Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?
User Kit 20200708
The text was updated successfully, but these errors were encountered: