1 | // Use like this: renderVars(+x, +y) |
2 | static S renderVars_struct(O... params) { |
3 | new L<S> l; |
4 | for (int i = 0; i+1 < l(params); i += 2) |
5 | l.add(params[i] + "=" + struct(params[i+1]) + ". "); |
6 | ret trim(join(l)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030916 |
Snippet name: | renderVars_struct |
Eternal ID of this version: | #1030916/3 |
Text MD5: | 743f4b5f940c2c3c98a7ac7a480e53d8 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-07-21 16:09:06 |
Source code size: | 221 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 137 / 176 |
Version history: | 2 change(s) |
Referenced in: | [show references] |