Would that be:
var p1 = 343, p2 = 5, p3 = 6, p4 = 2, p5 = 86528, p6 = 875433,
p7 = longitude, p8 = latitude, p9 = 'COORDENADAS';
I put in the Github for future reference.
Note that you have 9 parameters there, need to save in 9 variables. Could use the array also, but I think it’s even better in this case that there are nine variables. The only thing that should change in relation to what I did is to give more meaningful names to the variables, indicating what each parameter is.
You may not think it’s a good solution, but I don’t see a better one, although there are other creative ones. I don’t really know why you need this, maybe you don’t even have this need. It doesn’t make much sense to do this. It’s possible that the whole design of the application is wrong.
What do you mean you want to call it again? You want to run it again using the same parameters?
– KaduAmaral
@Kaduamaral Yes, updating one or two parameters but using the same base.
– Gabriel Henrique