1 | static S input(S msg) { |
2 | say(msg); |
3 | ret input(); |
4 | } |
5 | |
6 | static S input() { |
7 | S s = readLine_enableConsole(); |
8 | if (ai_enabled() && s != null) post("User", "said", quote(s)); |
9 | ret s; |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1013754 |
Snippet name: | input - get input from console for robos (disabled) |
Eternal ID of this version: | #1013754/7 |
Text MD5: | 385321a24eb0a010e5dce4932fb2a877 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-10 22:39:28 |
Source code size: | 191 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 378 / 406 |
Version history: | 6 change(s) |
Referenced in: | [show references] |