Download Jar. Uses 3874K of libraries. Click here for Pure Java version (21715L/156K).
!7 p { roboDo(r { if (has("user language", "=", "english")) { print("I know you speak English."); ret; } if (has("user language", "!=", "english")) { print("I know you don't speak English."); ret; } print("Do you speak English?"); S answer = input(); if (isYes(answer)) { post("user language", "=", "english"); print("Very nice. Comment ca va?"); enableConsoleInput(); sleepSeconds(2); print("Just kidding. How are you?"); } else { post("user language", "!=", "english"); print("Too bad"); //print("Too bad. Sprechen Sie deutsch?"); } }); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): cfunsshuasjs, mqqgnosmbjvj, onxytkatvevr, tvejysmllsmz
No comments. add comment
Snippet ID: | #1013753 |
Snippet name: | Do you speak English? |
Eternal ID of this version: | #1013753/26 |
Text MD5: | f70d31d1af2ff87313e9b05ee1c73409 |
Transpilation MD5: | 020a715ee7f79ead9910925256a702ce |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | Yes |
Created/modified: | 2018-02-27 10:07:56 |
Source code size: | 639 bytes / 27 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 519 / 1570 |
Version history: | 25 change(s) |
Referenced in: | [show references] |