On Saturday, 8 December 2018 at 03:51:02 UTC, Adam D. Ruppe wrote:
On Saturday, 8 December 2018 at 03:48:10 UTC, Murilo wrote:
Try passing `ps` to the function instead of plain `ps` and
see what happens.
How do I transform an array into a range?
With the slicing operator, .
Thank you very much, it worked now.
What is the difference between declaring "int a = [1,2,3];"
and declaring "int a = [1,2,3];"? Is the first an array and the
second a range?
I always thought that leaving the square brackets empty would
create an array of flexible size, it never occurred to me that it
was creating something else.