As far as websockets in a browser is concerned. Would it mean that something like the following works:
Server-side:
B4X:
ws.RunFunction("myFunction", SomeArrayOfStrings)
Browser-side:
B4X:
function myFunction() {
var i;
for (i = 0; i < arguments.length; i++) {
... arguments[i] ... 'is each item in the SomeArrayOfStrings I defined server-side.
}
}
Would I need to pass an array of strings, a list of string, or would both work out ?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.