Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

7
LINES

< > BotCompany Repo | #1012761 // ai_text_int - search triple DB for integer (return -1 if not found)

JavaX fragment (include)

static int ai_text_int(Symbol a, Symbol b, Symbol c) {
  ret parseIntOrMinus1(firstIntegerString(ai_texts(a, b, c)));
}

static int ai_text_int(T3<Symbol> t) {
  ret ai_text_int(t.a, t.b, t.c);
}

Author comment

Began life as a copy of #1011807

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: #1012761
Snippet name: ai_text_int - search triple DB for integer (return -1 if not found)
Eternal ID of this version: #1012761/4
Text MD5: 6a2b6ed874e1d29c9fe1956a21064d2b
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-11 22:43:50
Source code size: 201 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 444 / 478
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012785 - ai_intOrMinus1 - synonym of ai_text_int - search triple DB for integer (return -1 if not found)