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

5
LINES

< > BotCompany Repo | #1025432 // tok_once - do ... while false (so you can use break inside)

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

Libraryless. Click here for Pure Java version (2781L/18K).

1  
svoid tok_once(LS tok) {
2  
  replaceKeywordBlock(tok, "once",
3  
    "do {",
4  
    "} while (false);");
5  
}

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: #1025432
Snippet name: tok_once - do ... while false (so you can use break inside)
Eternal ID of this version: #1025432/3
Text MD5: ce3318b0faf9a08290b06465dfbc452f
Transpilation MD5: 493774bc949272c63bee74ca4576018a
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-09-29 00:01:22
Source code size: 102 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 307 / 430
Version history: 2 change(s)
Referenced in: [show references]