When running a lengthy .do-file containing the command
to rename several variables with the prefix "snat" into variables with the prefix "pick", I receive error r(111) "variable snat not found". What is strange: When I select the command in the .do-file editor a second time and run it again, the rename command works as it should.
Any ideas what is going on? I set variable abbreviations off by using
Also note that I explicitely dropped any temporary variables (not doing this may result in strange and unexpected behavior, as I recently learned, see temporary-names-for-a-scalar-dangerous-advice).
Code:
rename snat* pick*
Any ideas what is going on? I set variable abbreviations off by using
Code:
set varabbrev off, perm
Comment