// Use like this: renderVars(+x, +y) static S renderVars_struct(O... params) { new L<S> l; for (int i = 0; i+1 < l(params); i += 2) l.add(params[i] + "=" + struct(params[i+1]) + ". "); ret trim(join(l)); }
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: | 136 / 175 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |