1 | /* |
2 | if input (how many triples do we have?) |
3 | and ($n = ai_allWebsCount()) |
4 | then say (We have $n triples.) |
5 | */ |
6 | static S rule_numberOfTriples() { |
7 | ai_checkInput_match3("how many triples do we have?"); |
8 | long n = ai_allWebsCount(); |
9 | ret replaceVars2("We have $n triples.", "$n", formatWithThousands(n)); |
10 | } |
Began life as a copy of #1013414
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: | #1013425 |
Snippet name: | rule_numberOfTriples |
Eternal ID of this version: | #1013425/1 |
Text MD5: | 90838c0ebf47b3e4798309c30909e82a |
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:46:18 |
Source code size: | 315 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 457 / 459 |
Referenced in: | [show references] |