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

3
LINES

< > BotCompany Repo | #1005829 // parseLongOpt - return parsed long or 0

JavaX fragment (include)

static long parseLongOpt(S s) {
  ret isInteger(s) ? parseLong(s) : 0;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1005829
Snippet name: parseLongOpt - return parsed long or 0
Eternal ID of this version: #1005829/1
Text MD5: e9daf9073ce076bb2c4d021f182670d1
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-12-10 18:27:20
Source code size: 74 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 576 / 626
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030210 - parseLongOpt_pcall - return 0 if out of range