X
xyoavx
Hello,
I would like to understand why, in the foreach statement, the array's
name must be written within parentheses. The foreach "waits" for a
list, so I expect it to interpret the array's name in a list context
(like function sort for example) without needing the parentheses.
Thanks in advance,
xyoavx
I would like to understand why, in the foreach statement, the array's
name must be written within parentheses. The foreach "waits" for a
list, so I expect it to interpret the array's name in a list context
(like function sort for example) without needing the parentheses.
Thanks in advance,
xyoavx