|
DeleteInput | ||
DeleteInput InputIndex | ||
Parameters: InputIndex = The Input handler you wish to query |
||
Returns: NONE | ||
The DeleteInput command deletes any input handler from memory. FACTS: * The DeleteInput function is part of the "Input" expansion library. Therefore in order to use DeleteInput in program you need to include that library in your project. To do so, place I.e. #include "Input" at the top of the your program. * Need an old school Input replacement, see the StaticInput() function Mini Tutorial: This example demonstrates the use of asynchronous input. The demo just sets up an input handler and render loop. The loop will execute until the input handler is no longer active (the user pressed Enter). It will then display the entered text message before exiting. The interesting thing about this is that since we control the input loop, we can draw pretty much anything you like while input is taking place. Which is represented by a moving circle.
This example would output.
|
Related Info: | GetInputActive | GetInputText | Inkey$ | Input | KeyState | Mouse | NewInput | Scancode | StaticInput : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |