In my code 'error()' doesn't work if I use it in function defined in event, but it works correctly if I use it in other code like functions. Sorry, I don't speak English good.
This is the fragment of my code where function 'onKeyDown' is defined for event 'key_down' but 'error()' in it doesn't work (something like 'print()' works correctly).
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
In my code 'error()' doesn't work if I use it in function defined in event, but it works correctly if I use it in other code like functions. Sorry, I don't speak English good.
This is the fragment of my code where function 'onKeyDown' is defined for event 'key_down' but 'error()' in it doesn't work (something like 'print()' works correctly).
Link to post
Share on other sites