I found this curious behavior in the input
command for Stata.
When you pass a local macro as an argument either for one variable or multiple, the input
command gives this error:
'`' cannot be read as a number
Here are two examples that give the same error:
clear
local nums 1 1 1
input a b c
`nums'
end
clear
local num 1
input a b c
1 1 `num'
end
Is there a way to pass macros into the input
command?