please include function eval. static O evalWith(S text, O... vars) { new Eval e; for (int i = 0; i < l(vars); i += 2) e.setVar((S) vars[i], vars[i+1]); ret e.eval(text); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002400 |
Snippet name: | evalWith - eval with variables |
Eternal ID of this version: | #1002400/1 |
Text MD5: | c19dd2241a00b04cedba9e237e244994 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-01-19 02:10:25 |
Source code size: | 189 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 636 / 857 |
Referenced in: | #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |