Download Jar. Uses 3874K of libraries. Click here for Pure Java version (3798L/27K).
!7 p-noconsole { quickSolve_preload(); final L<JTextField> l = repF(7, f jtextfield); final JTextField lblOutput = jdisabledtextfield(); showForm(flattenArray2("In", "Out", l, "", "Result", lblOutput, "", jbutton("Solve", r-thread { loading { L<JTextField> _l = l; while (l(_l) > 0 && empty(getTextTrim(last(_l)))) truncateList(_l, l(_l)-1); L<S> items = map getText(_l); S question = null; if (odd(l(items))) question = popLast(items); O f = quickSolveToFunction(items); S text = "Not solved"; if (f != null) if (question != null) text = str(callF(f, question)); else text = "Solved"; setText(lblOutput, 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: | #1010424 |
Snippet name: | quickSolve Form [OK] |
Eternal ID of this version: | #1010424/13 |
Text MD5: | b98b9d382c4857dd5144a5fde4c74d03 |
Transpilation MD5: | 64b789d7ea345c0906876e715990c311 |
Author: | stefan |
Category: | javax / a.i. / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-17 18:36:16 |
Source code size: | 753 bytes / 24 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 490 / 1185 |
Version history: | 12 change(s) |
Referenced in: | [show references] |