This function is supposed to recursively calculate the polys and append them into filllist, but the array remians unalatered after running it. I know that as it stands there would be duplicates in the list, but I first want to get the function to actually do anything.
Your recursive calls only call your function with one output argument, so the modified second output argument is not returned from that function. Therefore any changes you make to your third input argument are discarded when each recursive call returns.
I tried it with only one output and it still doesn't work. I don't actually care about the filllist output since it's supposed to operate on the given array, not an array of it's own context.
Experiment with creating a script that has both parts together, and running the script. You can use the "Copy" box on the code I posted to get the code to be pasted into the script.
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.