Comparison timestamp: 2025-04-30 09:36:22 UTC
RestoredCDC URL: http://restoredcdc.org/www.cdc.gov/epiinfo/user-guide/check-code/syntax.html
Live cdc.gov URL ↗: https://www.cdc.gov/epiinfo/user-guide/check-code/syntax.html
RestoredCDC URL: http://restoredcdc.org/www.cdc.gov/epiinfo/user-guide/check-code/syntax.html
Live cdc.gov URL ↗: https://www.cdc.gov/epiinfo/user-guide/check-code/syntax.html
Removed: Line removed from cdc.gov. Specific word removals are highlighted.
Added: Line added to cdc.gov. Specific word additions are highlighted.
Injected:
Line or disclaimer added by RestoredCDC.org.
Unchanged: Line unchanged.
Original site: www.cdc.gov/epiinfo/user-guide/check-code/syntax.html | RestoredCDC.org is an independent project, not affiliated with CDC or any federal entity. Visit CDC.gov for free official information. Due to archival on January 6, 2025, recent outbreak data is unavailable. Videos are not restored. Access data.restoredcdc.org for restored data. Use of this site implies acceptance of this disclaimer.[More]About Us Report Bug Compare ContentSkip directly to site content Skip directly to searchEspañol | Other LanguagesHere's how you knowAn official website of the United States government Here's how you knowEpi Info™Epi Info™Centers for Disease Control and Prevention. CDC twenty four seven. Saving Lives, Protecting People Epi Info™SearchSearch Menu Navigation MenuSubmitEpi Info™* Getting Started* Epi Info™ for Windows* Epi Info™ for Web* Support & Resources+ BACKGetting StartedSupport & Resources+ System Requirements+ Downloads+ Conventions Used in this Guideo BACK+ Navigating Epi Info 7Downloads+ Syntax Notationso BACK+ Tech Support and ContactsSupport & Resources Downloads+ Acknowledgementso- BACKDownloads- BACKSupport & Resources Downloads- Previous Versions- Shapefiles- Translations- Epi Info™ Homeo Epi Info™ Home+ User Guideo BACKUser Guideo BACKSupport & Resources User Guideo Getting Startedo Form Designero Check Codeo Enter Datao Web Surveyo Companion for Androido Data Packagero Visual Dashboardo Classic Analysiso Mapso Nutritional Anthropometryo StatCalco Command Referenceo Functions & Operatorso Epi Info™ Home+ FAQs+ Help Desk+ User Community Q&A+ Tutorials+ Epi Info™ Home* Form Designer* Epi Info™ Annual Report+ BACK* The Epi Info™ StoryForm Designer+ Introduction+ Navigate the Workspace+ Open a Recent Project+ Create a New Project+ Tips Before You Begin+ New Project from Template+ New Form in Existing Project+ Open Existing Project+ Close Project+ Pages+ Undo/Redo+ Check Code+ Entering Data+ Fieldso BACKFieldso BACKForm Designer Fieldso Label/Titleo Texto Text Uppercaseo Multilineo Numbero Phone Numbero Dateo Timeo Date-Timeo Checkboxo Yes-Noo Optiono Command Buttono Imageo Mirroro Grido Legal Valueo Comment Legalo Codeso Relateo Groupo Field Attributeso Epi Info™ Home+ Tab Order+ Templates+ Insert Line+ Upgrade a Project+ Make a PRJ File+ Delete Data Tables+ Data Dictionary+ Make Form from Data Table+ Epi Info™ Home* Check Code+ BACKCheck Code+ Program Editor+ Navigating the Editor+ Check Code Commands+ More Commands+ EpiWeek Function+ Check Code Syntax+ Epi Info™ Home* Enter Data+ BACKEnter Data+ Navigate the Workspace+ Entering Data+ Save a Page or Record+ Find Records+ Epi Info™ Home* Web Survey+ BACKWeb Survey+ System Deployment+ Designing Forms for Web+ Supported Field Types+ Supported Commands+ Check Code Performance+ Web Survey Compatibility+ Initial Setup+ Publish a Form+ Invite Participants+ Access the Survey URL+ Submitting Responses+ Saving a Partial Survey+ Importing Survey Results+ Epi Info™ Home* Companion for Android+ BACKCompanion for Android+ Initial Set Up+ Designing for Mobile+ Copy Form to Mobile Device+ Mobile Data Collection+ Data Transfer+ Cloud Synchronization+ StatCalc on Mobile Devices+ Analyze Data+ Epi Info™ Home* Data Packager+ BACKData Packager+ Package for Transport+ Import from Package+ Epi Info™ Home* Visual Dashboard+ BACKVisual Dashboard+ Select Data Source+ Analysis Gadgetso BACKAnalysis Gadgetso BACKVisual Dashboard Analysis Gadgetso Line Listo Frequencyo Word Cloudo Combined Frequencyo M x N / 2 x 2 Tableo Matched Pair Case-Controlo Meanso Duplicates Listo Chartso Advanced Statisticso Epi Info™ Home+ Working with Canvases+ Defining Variables+ Data Filters+ Display and Gadget Filters+ Data Dictionary+ Report Gadgets+ Epi Info™ Home* Classic Analysis+ BACKClassic Analysis+ Manage Data+ ASSIGN Command+ Manage Variables+ Select Records+ Display Stats and Records+ Manage Output+ User-Defined Commands+ Create User Interaction+ Advanced Statistics+ Epi Info™ Home* Maps+ BACKMaps+ Basic Tools+ Basic Functions+ Save+ Add a Data Layer+ Case Cluster+ Choropleth/Dot Density Maps+ Base Layer+ Epi Info™ Home* Translation+ BACKTranslation+ How to Translate Epi Info+ Create New Language MDB+ Use Existing Language MDB+ Choose a Language to Use+ Epi Info™ Home* Nutritional Anthropometry+ BACKNutritional Anthropometry+ The Nutrition Project+ NutStat Growth Charts+ Nutrition Functions+ Epi Info™ Home* StatCalc+ BACKStatCalc+ Introduction+ Tables (2 x 2, 2 x n)+ Population Survey or Descriptive Study+ Cohort and Cross-Sectional+ Unmatched Case-Control+ Chi Square for Trend+ Poisson+ Binomial+ Matched Pair Case-Control+ Visual Dashboard+ OpenEpi+ Epi Info™ Home* Command Reference+ BACKCommand Reference+ Analysis Commandso BACKAnalysis Commandso BACKCommand Reference Analysis Commandso ASSIGNo BEEPo Cancel SELECTo Cancel SORTo CLOSEOUTo COXPHo DEFINEo DEFINE DLLOBJECTo DEFINE GROUPo DELETE FILE/TABLEo DELETE RECORDSo DIALOGo DISPLAYo EXECUTEo FREQ (Frequency)o GRAPHo IF-THEN-ELSEo KMSURVIVALo LISTo LOGISTICo MEANSo MERGEo PRINTOUTo QUITo READo RECODEo REGRESSo RELATEo ROUTEOUTo RUNPGMo SELECTo SETo SORTo SUMMARIZEo TABLESo TYPEOUTo UNDEFINEo UNDELETEo WRITEo Epi Info™ Home+ Check Code Commandso BACKCheck Code Commandso BACKCommand Reference Check Code Commandso AFTER / END-AFTERo ASSIGNo AUTOSEARCHo BEEPo BEFORE / END-BEFOREo CLEARo CLICK / END-CLICKo COMMENTS (*)o DEFINEo DEFINE DLLOBJECTo EXECUTEo GOTOo HIDEo IF-THEN-ELSEo NEWRECORDo UNHIDEo Epi Info™ Home+ Epi Info™ Home* Functions & Operators* Epi Info™ HomeEpi Info™Epi Info™ HomeCheck Code: Customizing the Data Entry ProcessCheck Code SyntaxCheck Code: Customizing the Data Entry ProcessPAGE 7 of 9‹View Table of ContentsRelated PagesProper Check Code SyntaxUsing the proper check code syntax is important based on the field type.Here are some examples of the proper syntax to use based on the field type:* Assign the “Age” field (numeric field type) the value 24+ ASSIGN Age = 24* Assign the ‘Ill’ field (Yes/No field type) the value No+ ASSIGN Ill = (-)* Assign the ‘AteChicken’ field (checkbox field type) the value Yes+ ASSIGN AteChicken = (+)* Assign the ‘DateOfInterview’ field (Date field type) the value 5/5/2012+ ASSIGN DateOfInterview = 5/5/2012* Assign the ‘CaseStatus’ field (legal values field type) the value “Confirmed”+ ASSIGN CaseStatus = “Confirmed”* Assign the ‘Gender’ field (Comment Legal field) the value “F”. The field is coded as M-Male, F-Female.* Assign the ‘Sex’ field (Comment Legal field) the value “F”. The field is coded as M-Male, F-Female.+ ASSIGN Gender = “F”+ ASSIGN Sex = “F”Check Code1. Check Code Introduction2. Accessing Check Code Program Editor3. Navigate the Check Code Program Editor4. Check Code Commands5. Additional Check Code Commands6. How to use EpiWeek Function7. ›Proper Check Code Syntax8. Chapter 3: Check Code – Full Chapter [PDF - 1M]9. Chapter 3: Check Code – Full Chapter [DOCX - 7M]Last Reviewed: September 16, 2022, 12:00 pmLast Reviewed: September 16, 2022, 12:00 PMSource: Office of Public Health Data, Surveillance, and Technology* Syndicatehome User Guidehome Epi Info™* Getting Started plus icon* Epi Info™ for Windows+ System Requirements* Epi Info™ for Web+ Conventions Used in this Guide* Support & Resources plus icon+ Navigating Epi Info 7+ Downloads plus icon+ Syntax Notationso plus icon+ Tech Support and Contacts- Previous Versions+ Acknowledgements- Shapefiles* Form Designer plus icon- Translations+ Introduction+ User Guide plus icon+ Navigate the Workspaceo Getting Started+ Open a Recent Projecto Form Designer+ Create a New Projecto Check Code+ Tips Before You Begino Enter Data+ New Project from Templateo Web Survey+ New Form in Existing Projecto Companion for Android+ Open Existing Projecto Data Packager+ Close Projecto Visual Dashboard+ Pageso Classic Analysis+ Undo/Redoo Maps+ Check Codeo Nutritional Anthropometry+ Entering Datao StatCalc+ Fields plus icono Command Referenceo Label/Titleo Functions & Operatorso Text+ FAQso Text Uppercase+ Help Desko Multiline+ User Community Q&Ao Number+ Tutorialso Phone Number* Epi Info™ Annual Reporto Date* The Epi Info™ Storyo Timeo Date-Timeo Checkboxo Yes-Noo Optiono Command Buttono Imageo Mirroro Grido Legal Valueo Comment Legalo Codeso Relateo Groupo Field Attributes+ Tab Order+ Templates+ Insert Line+ Upgrade a Project+ Make a PRJ File+ Delete Data Tables+ Data Dictionary+ Make Form from Data Table* Check Code plus icon+ Program Editor+ Navigating the Editor+ Check Code Commands+ More Commands+ EpiWeek Function+ Check Code Syntax* Enter Data plus icon+ Navigate the Workspace+ Entering Data+ Save a Page or Record+ Find Records* Web Survey plus icon+ System Deployment+ Designing Forms for Web+ Supported Field Types+ Supported Commands+ Check Code Performance+ Web Survey Compatibility+ Initial Setup+ Publish a Form+ Invite Participants+ Access the Survey URL+ Submitting Responses+ Saving a Partial Survey+ Importing Survey Results* Companion for Android plus icon+ Initial Set Up+ Designing for Mobile+ Copy Form to Mobile Device+ Mobile Data Collection+ Data Transfer+ Cloud Synchronization+ StatCalc on Mobile Devices+ Analyze Data* Data Packager plus icon+ Package for Transport+ Import from Package* Visual Dashboard plus icon+ Select Data Source+ Analysis Gadgets plus icono Line Listo Frequencyo Word Cloudo Combined Frequencyo M x N / 2 x 2 Tableo Matched Pair Case-Controlo Meanso Duplicates Listo Chartso Advanced Statistics+ Working with Canvases+ Defining Variables+ Data Filters+ Display and Gadget Filters+ Data Dictionary+ Report Gadgets* Classic Analysis plus icon+ Manage Data+ ASSIGN Command+ Manage Variables+ Select Records+ Display Stats and Records+ Manage Output+ User-Defined Commands+ Create User Interaction+ Advanced Statistics* Maps plus icon+ Basic Tools+ Basic Functions+ Save+ Add a Data Layer+ Case Cluster+ Choropleth/Dot Density Maps+ Base Layer* Translation plus icon+ How to Translate Epi Info+ Create New Language MDB+ Use Existing Language MDB+ Choose a Language to Use* Nutritional Anthropometry plus icon+ The Nutrition Project+ NutStat Growth Charts+ Nutrition Functions* StatCalc plus icon+ Introduction+ Tables (2 x 2, 2 x n)+ Population Survey or Descriptive Study+ Cohort and Cross-Sectional+ Unmatched Case-Control+ Chi Square for Trend+ Poisson+ Binomial+ Matched Pair Case-Control+ Visual Dashboard+ OpenEpi* Command Reference plus icon+ Analysis Commands plus icono ASSIGNo BEEPo Cancel SELECTo Cancel SORTo CLOSEOUTo COXPHo DEFINEo DEFINE DLLOBJECTo DEFINE GROUPo DELETE FILE/TABLEo DELETE RECORDSo DIALOGo DISPLAYo EXECUTEo FREQ (Frequency)o GRAPHo IF-THEN-ELSEo KMSURVIVALo LISTo LOGISTICo MEANSo MERGEo PRINTOUTo QUITo READo RECODEo REGRESSo RELATEo ROUTEOUTo RUNPGMo SELECTo SETo SORTo SUMMARIZEo TABLESo TYPEOUTo UNDEFINEo UNDELETEo WRITE+ Check Code Commands plus icono AFTER / END-AFTERo ASSIGNo AUTOSEARCHo BEEPo BEFORE / END-BEFOREo CLEARo CLICK / END-CLICKo COMMENTS (*)o DEFINEo DEFINE DLLOBJECTo EXECUTEo GOTOo HIDEo IF-THEN-ELSEo NEWRECORDo UNHIDE* Functions & OperatorsRelated Links* Epi Info™ 7 Tutorial Videos* Epi Info™ 7 User Guide* Epi Info™ Community Questions & Answers* ActivEpi Web - explains concepts and methods* OpenEpi - makes computations* About CDC* Contact Us* 800-232-4636Facebook Twitter Instagram LinkedIn Youtube Pinterest SnapchatFacebook Twitter Instagram LinkedIn Youtube Pinterest Snapchat RSS* CONTACT CDCContact UsCall 800-232-4636Email Us* ABOUT CDC+ About CDC+ Jobs+ Funding* POLICIES+ Accessibility+ External Links+ Privacy+ Policies+ Web Policies+ No Fear Act+ FOIA+ OIG+ No Fear Act+ Nondiscrimination+ Vulnerability Disclosure Policy+ CDC Archive+ Public Health Publications+ HHS.gov+ USA.gov* CONNECT WITH US+ Youtube+ Snapchat* LANGUAGES+ Español+ 繁體中文+ Tiếng Việt+ 한국어+ Tagalog+ Русский+ العربية+ Kreyòl Ayisyen+ Français+ Polski+ Português+ Italiano+ Deutsch+ 日本語+ فارسی+ English* U.S. Department of Health & Human Services* Accessibility* External Links* Privacy* Policies* Web Policies* FOIA* OIG* No Fear Act* FOIA* Nondiscrimination* OIG* Vulnerability Disclosure Policy* CDC Archive* Public Health Publications* HHS.gov* USA.govContent Credential×This image was edited or created using GenAI (generative artificial intelligence).Our experts review all images in an effort to ensure accuracy and quality before use.Learn more about CDC's usage of GenAI.
Note: Comparison ignores leading/trailing whitespace
and certain script/tracking codes. Word-level
highlighting (optional above) only applies to changed
lines.