wronge output

Any idea why i get the output that is on the black shell window? It only stores one day correctly.

Should output like the blue shell
2 Replies

Looks like what my script does is that it creates a bunch of holidaylist.

Need to be like this instead: -Holidaylist($a,$b,$c)

Any idea how i can do that?


best response confirmed by AlexanderHolmeset (MVP)

$x needed to be an Array.

Now its working