1 | sS randomUpperCaseLetterNotEqualTo(S l) { |
2 | S letter; |
3 | do { |
4 | letter = "" + randomCharBetween('A', 'Z'); |
5 | } while (eq(letter, l)); |
6 | ret letter; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014947 |
Snippet name: | randomUpperCaseLetterNotEqualTo |
Eternal ID of this version: | #1014947/1 |
Text MD5: | e320c9f752b3a3065744937946198cd2 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-06 17:55:39 |
Source code size: | 156 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 408 / 448 |
Referenced in: | [show references] |