The TMSWebCore version of a variant is a TJSValueDynArray;:
var
V:TJSValueDynArray;
Jv:JSValue;
..
SetLength(V,2);
V[0]:=1;
V[1]:='Something';;
Jv:=tblX.Lookup('LevelID;Trait',V,'ImgOrder');
SetLength(V,0);
The TMSWebCore version of a variant is a TJSValueDynArray;:
var
V:TJSValueDynArray;
Jv:JSValue;
..
SetLength(V,2);
V[0]:=1;
V[1]:='Something';;
Jv:=tblX.Lookup('LevelID;Trait',V,'ImgOrder');
SetLength(V,0);
Many thanks for that info, Ken Randall ! I'll try this in a standalone test project first, to make sure I know how to use it right.
I am trying to make a test project to try out the suggestion from Ken Randall, but the project cannot find either TJSValueDynArray or TJSValue. I need something to add to the "uses" clause.
Where can I find this?
Just a quick follow-up, answered here, in case anyone is looking later.