- May
- 12,621
- 152
Setting array variable ignores leading spaces. And @execarray[] doesn't. This is a problem. I can't fill an array with @execarray[] copy it to another array expecting the copy to be the same.
Code:
v:\> setarray a[1]
v:\> set a[0]= xx
v:\> echo **%a[0]**
**xx**
v:\> echo %@execarray[a,echo xx]
0
v:\> echo **%a[0]**
** xx**