/* if input (how many terms do we have?) and ($n = numberOfTermsInMainIndex()) then say (We have $n shortened terms.) */ static S rule_numberOfTerms() { ai_checkInput_match3("how many terms do we have?"); long n = numberOfTermsInMainIndex(); ret replaceVars2("We have $n shortened terms.", "$n", formatWithThousands(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: | #1013414 |
Snippet name: | rule_numberOfTerms |
Eternal ID of this version: | #1013414/5 |
Text MD5: | 7fa2c723f08f0c24a519d3ecb41cc7f8 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-06 06:09:54 |
Source code size: | 343 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 425 / 450 |
Version history: | 4 change(s) |
Referenced in: | [show references] |