static int ai_numberOfSteps_for(S s) { int n = 0; S forS = "for " + curly(s); while (ai_text(forS, "step " + (n+1) + " is", "$X") != null) ++n; ret n; }
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: | #1013388 |
| Snippet name: | ai_numberOfSteps_for |
| Eternal ID of this version: | #1013388/1 |
| Text MD5: | 69b8eb385fdd03f64f707a0fee052165 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-01-04 01:12:17 |
| Source code size: | 170 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 648 / 681 |
| Referenced in: | [show references] |