Well there you go then. You are explicitly setting 'mk' to Nothing and then you try to call 'getkey' on it. How can you call a method on an object that doesn't exist? That's like saying "I have no car and I'm going to go out and drive it". How can you drive your car if you have no car? Likewise, how can you call 'getkey' on an 'mkey' object if you have no 'mkey' object? If you want an 'mkey' object then you have to create one:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.