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

4
LINES

< > BotCompany Repo | #1035617 // anonVar

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

Libraryless. Click here for Pure Java version (60L/1K).

1  
sS anonVar(S name default "", int counter) {
2  
  ret "_" + name + "_" + stringIf(counter < 1, "_")
3  
    + abs(counter-1);
4  
}

Author comment

Began life as a copy of #1025205

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035617
Snippet name: anonVar
Eternal ID of this version: #1035617/2
Text MD5: 8b0500d634fc7b46f43280ef36383184
Transpilation MD5: 6fc97b0ccb5801051f3d75b0fb98e480
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-26 22:45:01
Source code size: 123 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 200
Version history: 1 change(s)
Referenced in: [show references]