- Source:
[W.I.P] ReadLine functions for WSH (Windows Script Host).
Requires
Methods
(static) questionSync(queryopt) → {string}
- Source:
[W.I.P] Requests the URL. Similar to Node.js rl.question().
Example
var rl = Wsh.Readline; // Shorthand
var answer = rl.questionSync('Are you an engineer?/y or Not');
if (answer.toUpperCase() !== 'Y') return false;
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
query |
string |
<optional> |
The query to question. |
Returns:
- The input string.
- Type
- string