help set varabbrev
-------------------------------------------------------------------------------
Title
Set whether variable abbreviations are supported
Syntax
set varabbrev {on | off} , permanently
Description
set varabbrev allows you to control whether variable abbreviations are
allowed. The default is to allow variable abbreviations.
For the varabbrev and novarabbrev commands, see [P] varabbrev.
Remarks
If you type
. sysuse auto
. summarize mp
you will see a summary of the variable mpg because mp is an abbreviation
of mpg and no other variable in the dataset can be abbreviated to mp.
If you turn off variable abbreviations with
. set varabbrev off
Stata will not find the variable mpg when you type mp in a variable list.
Also see
Manual: [R] query,
[R] set
Help: [R] query, [R] set, [P] varabbrev