dbg_charCodeAt
Monkey Forums/Monkey Bug Reports/dbg_charCodeAt
| ||
Just switched to 71c, I was using 68 before. When I try to compile on HTML5 I get this error: Monkey Runtime Error : ReferenceError: dbg_charCodeAt is not defined I get similar errors on Flash and GLFW, but they are much more verbose. The line it points to is: Local s:String = String.FromChar( data[n] ) So I assume it has something to do with indexing strings? I have deleted my build folder. |
| ||
I tried commenting out the offending code just to see if I could get something to run, but now I am getting the exact same error message at this line:DrawText text[n], x, y Before I was indexing a String to get a char code, but here I was indexing an array of Strings. It is all very confusing. |
| ||
I believe I have found the problem.:\Monkey\MonkeyPro71c\bin\transcc_winnt.exe -run -config=debug -target=Flash_Game -modpath="C:\Monkey\MonkeyPro68\module" Seems I messed something up getting JungleIDE to recognize the new directory. All fixed now... except that you can't compare arrays. |