|
StaticInput | ||
StaticInput Prompt$ | ||
Parameters: Prompt$ = The Input prompt the request should use. |
||
Returns: NONE | ||
StaticInput is a more traditional input function. Where the function halts the programs execution and waits for the user to enter a string. Nothing else can occur while your getting input. Hitting enter key will make StaticInput return the text that user typed. FACTS: * The StaticInput function is part of the "Input" expansion library. Therefore in order to use StaticInput 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. * The StaticInput function halts your programs execution. It will not exit until the user presses Enter! This is the same behavior as found in traditional "ANSI" basic compilers using the Input command (ie. Input "Message";A$. If you want input while your game/program is running, then you'll need to use an input handler which gives you asynchronous input. See (Input) Mini Tutorial:
This example would output.
|
Related Info: | KeyState | Mouse | Scancode : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |