Download Jar. Libraryless. Click here for Pure Java version (21709L/155K).
1 | !7 |
2 | |
3 | p { roboDo(#1013753, r { |
4 | replace print with say. |
5 | |
6 | if (has("user language", "=", "english")) |
7 | ret with print("I know you speak English."); |
8 | |
9 | if (has("user language", "!=", "english")) |
10 | ret with print("I know you don't speak English."); |
11 | |
12 | S answer = input("Do you speak English?"); |
13 | if (isYes(answer)) { |
14 | post("user language", "=", "english"); |
15 | print("Very nice. Comment ca va?"); |
16 | enableConsoleInput(); |
17 | sleepSeconds(2); |
18 | print("Just kidding. How are you?"); |
19 | } else { |
20 | post("user language", "!=", "english"); |
21 | print("Too bad"); |
22 | //print("Too bad. Sprechen Sie deutsch?"); |
23 | } |
24 | }); } |
Began life as a copy of #1013753
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wbudoaevyipu
No comments. add comment
Snippet ID: | #1013772 |
Snippet name: | Do you speak English? v2 |
Eternal ID of this version: | #1013772/3 |
Text MD5: | 492556b5deb3a50b796061136500cfac |
Transpilation MD5: | 9fa5cf74ed0292c1f45056017be2a19e |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-03-01 16:11:40 |
Source code size: | 648 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 439 / 1107 |
Version history: | 2 change(s) |
Referenced in: | [show references] |