ftools
contains a set of useful parsing and compilation commands that might be more useful in general (they are also used by reghdfe
and abcreg
).
Before using the parsing commands, check that what you want is not already in Stata,
either on the website, undocumented (help undocumented
), or within the base/_/
folder (e.g. _parse_initial.ado
, _prefix_note.ado
).
ms_get_version
: returns the version indicated in the starbang line of an adoms_compile_mata
: compile themlib
file of a Mata package, if required.ms_fvunab
: Variant offvunab
that does not expand "x##y" into "x y x#y". Also does not expand "x#y" into "i.x#i.y"ms_fvstrip
: (by Mark E. Schaffer) See https://github.com/markeschaffer/stata-utilities/blob/master/fvstrip.mdms_parse_absvars
: Parse the contents ofabsorb(...)
ms_parse_varlist
: Parse a regression varlisty x1 x2 (x3 = z1 z2)
ms_parse_vce
: Parsae the contents ofvce(...)