B4J Library [B4X] Eval (expressions evaluator) - Erel    Mar 27, 2019   (23 reactions) The attached class allows you to evaluate mathematical expressions with support for custom functions.
It is compatible with B4A, B4J and B4i.
Example:
Sub AppStart (Args() As String)
Dim e As B4XEval
e.Initialize(Me, "Eval")
Log(e.Eval("1 + Min(2, Max(-4, 1), 6)"))
Log(e.Eval("-(2+5)*( B4J Library [B4X] [XUI] SD FlexGrid (Table) - Star-Dust    Oct 25, 2023   (69 reactions) SD_FlexGrid Author: Star-Dust Version: 0.45 Eval version 2.00 Eval Method By Erel: https://www.b4x.com/android/forum/threads/b4x-eval-expressions-evaluator.54629/ Fields: Error As Boolean Functions: Calculate (Expression As String) As Double Class_Globals As String Initialize (FG As FlexGrid) B4J Library [B4X] xHttpServer (Http Server + jQuery) - Star-Dust    Jun 09, 2024   (35 reactions) Event As String, OtherEvent As Map()) As Map() EscapeHtml (Raw As String) As String Eval (Script As String, Params As List) As String EvalWithResult (Script As String, Params As List) As String GetPropriety (Property As String, Value As List) As String GetVal (ID As String, ValueList As List) As Str B4A Question Run external *.bas file? - Erel (first post)    Mar 12, 2019   (9 reactions) It is written in B4X: Eval (expressions evaluator) A bit like comparing these two :) 78304 78305 B4J Question [SOLVED] WebApp: WS.Eval("window.location = arguments[0]", Array As Object("")) doesnt want redirect on mobile device - Ganiadi (first post)    Mar 23, 2022   (1 reaction) Hi Erel, thanks for the reference,
and i solved the problem by updating b4j_ws.js to version 0.92
Tks for your help B4A Library MteEval - B4X Expression Compiler and Eval Library (Open Source) - stanmiller    May 12, 2017   (18 reactions) B4X Expression Compiler and Eval Library
MteEVAL is a library for compiling and evaluating expressions at runtime. Expressions are converted to bytecode and then executed on demand with a simple virtual machine.
There are five editions of the library:
Android (B4A)
iOS (B4i)
Java (B4J)
JavaS2 (B4 B4J Question JQuery DataTable intialisation - Erel (first post)    May 26, 2022   (3 reactions) Everything is possible. You can run whichever JS you need.
Something like:
ws.Eval($"$(arguments).dataTable({
createdRow: function (row, data, index) {
if (data === 'R') {
$('td', row).eq(7).addClass('rrr');
}
},
})"$, Array(jq.Id)) B4A Question RANDOMIZED CALCULATOR OPERATIONS - udg (first post)    Aug 24, 2021   (2 reactions) You may be interested in the Eval class too. B4J Question [ABMaterial] ousEvUnexpected event (missing RaiseSynchronents): abmcomp_build - Joan Paz (first post)    Jan 10, 2019   (1 reaction) ws.Eval(script, Null)
End Sub
' console.log('tiene data');
' console.log($('#${zids2}').data('select2'));
' console.log($('#select2-${zids2}-container'));
Sub setactiveitem(InternalPage As ABMPage,active_id As String)
Dim script As String = $"
B4J Question Scroll to an anchor - TomDuncan (first post)    Oct 27, 2021   (1 reaction) Thanks for that.
I used
ws.Eval("window.location = arguments", Array As Object("#blog_show_body"))
and it works like a charm. Page: 1   2   3   4   5   6   7   Powered by ColBERT |