Libraryless. Click here for Pure Java version (5046L/28K).
1 | // Use like this: renderRecordVars("MyRecord", +x, +y) |
2 | sS mapMethodLike renderRecordVars(S recordName, O... params) { |
3 | new LS l; |
4 | int i = 0; |
5 | for (; i+1 < l(params); i += 2) |
6 | l.add(params[i] + "=" + params[i+1]); |
7 | ret formatFunctionCall(recordName, l); |
8 | } |
Began life as a copy of #1024543
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1034237 |
Snippet name: | renderRecordVars |
Eternal ID of this version: | #1034237/1 |
Text MD5: | 37a79f19439e7ad909bf54cad410763c |
Transpilation MD5: | 3f950d4d6865208f7a63a45ed0300f57 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-29 06:30:37 |
Source code size: | 268 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 187 / 272 |
Referenced in: | [show references] |