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

6
LINES

< > BotCompany Repo | #1025012 // tok_isJavaxMetaCommandLeftOf

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2600L/17K).

1  
// i points at C token after suspected meta command
2  
sbool tok_isJavaxMetaCommandLeftOf(LS tok, int i) {
3  
  int j = i-2*4-1;
4  
  if (j >= 0 && jfind(subList(tok, j, i), "set flag <id> .") == 1) true;
5  
  false;
6  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025012
Snippet name: tok_isJavaxMetaCommandLeftOf
Eternal ID of this version: #1025012/2
Text MD5: e6c1c67afc4730b47bbbe8f04ce1fd10
Transpilation MD5: bab8d26de1e85fb09512589a65afa78f
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-01 11:51:18
Source code size: 211 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 303 / 381
Version history: 1 change(s)
Referenced in: [show references]