static int varyInt(int i) { ret varyInt(10, i); } static int varyInt(int range, int i) { ret random(i-range, i+range+1); }
Began life as a copy of #1014955
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: | #1014987 |
| Snippet name: | varyInt |
| Eternal ID of this version: | #1014987/2 |
| Text MD5: | ac0b7b5ffd9f6d412702eea363a8221e |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-05-07 16:34:20 |
| Source code size: | 135 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 657 / 663 |
| Version history: | 1 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |