Function Test() as Integer
Return "This is no integer"
End Function
Print Test()
The editor shows no error when pasting in this code. However, it correctly refuses to run it. Calling ebeditor.runCode() from the browser console shows Error: Failed to cast "String" to "Number", but the editor does not display this in any way.
The editor shows no error when pasting in this code. However, it correctly refuses to run it. Calling
ebeditor.runCode()
from the browser console showsError: Failed to cast "String" to "Number"
, but the editor does not display this in any way.