Dear All, I suspect a bug in Stata's parsing of command options in graphical commands. Can someone confirm that this is still a problem in Stata 17?
Actual: first command succeeds, second command reports a syntax error.
Expected: both commands produce identical output.
Rationale: space before comma is meaningless and should be disregarded, like it is disregarded in other (non-graphing) Stata commands, for example:
(Both commands work fine).
Thank you, Sergiy Radyakin
Code:
version 16.0 clear all sysuse auto graph bar , over(rep78), if foreign==1 graph bar , over(rep78) , if foreign==1 // END OF FILE
Expected: both commands produce identical output.
Rationale: space before comma is meaningless and should be disregarded, like it is disregarded in other (non-graphing) Stata commands, for example:
Code:
table rep78 if foreign==1, c(mean price) table rep78 , c(mean price) , if foreign==1
Thank you, Sergiy Radyakin
Comment