Lines 77 through 82 of merge.ado check that gen and nogen are not specified together.
This code has a typo. "di as smcl err" gives
The correct syntax is "di as smcl as err". However, in that case you'd get the error message but the program would not exit? Not really sure where else to ask about it.
Code:
if ("`nogenerate'"!="") { di as smcl err "{p}" di as smcl "options -generate()- and -nogenerate-" di as smcl "may not be specified together." di as smcl err "{p_end}" }
Code:
. di as smcl err
err not found
r(111);
Comment