Epi Info™ User Guide

Command Reference


Analysis Commands: UNDEFINE

Description
This command removes a defined variable and any assigned values from the system.

Syntax
UNDEFINE <variable>

  • The <variable> represents a defined variable.

Program Specific Feature
Permanent variables cannot be undefined from the Undefine dialog box. To undefine a permanent variable, type the syntax into the Program Editor and run the command.

Comments
A variable that already exists in the database cannot be undefined. To remove a database variable from the database, use the WRITE command with the EXCEPT modifier.

Example

UNDEFINE  NewVar
Page last reviewed: September 16, 2022, 12:00 pm