!7 p-noconsole { quickSolve_preload(); final L l = repF(7, f jtextfield); final JTextField lblOutput = jdisabledtextfield(); showForm(flattenArray2("In", "Out", l, "", "Result", lblOutput, "", jbutton("Solve", r-thread { loading { L _l = l; while (l(_l) > 0 && empty(getTextTrim(last(_l)))) truncateList(_l, l(_l)-1); L 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); } }))); }