@cybereality said:
However, most things result in a script error that will fail silently. For example, calling methods on null objects, accessing an out of bounds index on an array, sending nonsense parameters to functions, etc. are all no problem. Of course, it doesn't work, but it doesn't do anything bad either.
Can I assume "fail silently" means skip whatever line that gives the error and continues running? So for example I have a script:
var first_var = 0
var second_var = 0
func my_func(para1, para2):
first_var = some_object.some_method(para1, para2) # "some_method" gives an error
second_var = 2
After my_func is called, first_var will be left unmodified, and second_var will be assigned value 2, is this correct?