A
A
ar4ebaldello2015-07-23 19:58:19
In contact with
ar4ebaldello, 2015-07-23 19:58:19

execute method. Is it possible to send an array as one argument?

Good evening!
It is necessary for me in stored procedure to accept an array.
There is no mention of this in the documentation, although VKScript has arrays.
I tried passing both "[1,2,3]" and "1,2,3" - they are all recognized as strings.
My array is 25 with no more elements. Of course, it can be split into 25 "Args._1 ... Args._25" and 25 conditions, but I would like to justvar foo = Args.some_array; var bar = foo[4];

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Gromadchuk, 2015-07-23
@ar4ebaldello

Alas, you can't pass an array. Previously, such a question was already raised , where a solution to such a situation was proposed, it is very interesting, but it takes away half the possibilities of execute. A little more, and execute may exceed the execution time.
UPD : I gave a normal example in another question .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question