Dear All,

I am trying to understand the exact reason the string duplication fails sometimes.
The documentation illustrates some possible uses:
Array

Yet, when I run this (highlighted) example in Stata I am getting an error message:
Array

For the moment, I've noticed that enclosing the string duplication in parenthesis helps and can be used as a workaround.
I am also not sure whether the order matters in Num*String or String*Num, since Num*String seems to work fine.

The above is from Stata MP 16.0 (Windows 64-bit), but the same was earlier observed in Stata 15.1.

Thank you for any comments on the above behavior,
Sergiy