1 | static int ai_shortenForIndex_maxLength = 100; |
2 | |
3 | static S ai_shortenForIndex(S text) { |
4 | ret shorten(text, ai_shortenForIndex_maxLength); |
5 | } |
6 | |
7 | ifclass Symbol |
8 | static Symbol ai_shortenForIndex(Symbol text) { |
9 | ret shortenSymbol(text, ai_shortenForIndex_maxLength); |
10 | } |
11 | endif |
Began life as a copy of #1011366
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: | #1011581 |
Snippet name: | ai_shortenForIndex |
Eternal ID of this version: | #1011581/5 |
Text MD5: | efa708318261e49d4bcdc17d5ffae1ce |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-10 07:12:11 |
Source code size: | 277 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 547 / 552 |
Version history: | 4 change(s) |
Referenced in: | [show references] |