I hava a question about how locals deal with lists.
If I enter:
which is what I expected.
But if I enter:
I'm confused why in the second instance "bob sue" is treated as two different values.
Apologies if the answer is obvious.
Tim
If I enter:
Code:
local testlist "bob" "bob sue" "sue bob ed"
foreach x of local testlist {
2. di "`x'"
3. }
bob
bob sue
sue bob ed
But if I enter:
Code:
local testlist "bob sue" "bob" "sue bob ed"
foreach x of local testlist {
2. di "`x'"
3. }
bob
sue
bob
sue bob ed
Apologies if the answer is obvious.
Tim

Comment