>> Home >> Products >> Features >> Programming features
Order Stata

Programming features

Programming features

  • Sophisticated parsing
  • Looping and branching
  • Markup and control language
  • Access to internal system variables
  • Binary and text file I/O
  • ODBC/SQL support Updated
  • Access to files on the Internet
  • List processing
  • Path and file utilities
  • Extensive set of functions for string and data manipulation, including regular expressions and Unicode Updated
  • Window management
  • Automation

Object-oriented programming

  • Inheritance
  • Encapsulation of data structures and programs
  • Program-name overloading

Menu language

  • Add items to existing menus
  • Add new menus
  • Create dialog interfaces Updated

Long string/BLOB support

  • Up to 2,000,000,00-character long strings
  • Binary "string" (BLOBs)
  • Import entire files into BLOBs/long strings
  • Export files from BLOBs/long strings

Unicode support New

  • UTF-8
  • Translation of extended ASCII to UTF-8
  • Unicode-aware string functions
  • Locale-based sorting and string comparison

Project Manager

  • Handle dozens or hundreds of scripts at once
  • Portable project file/collections for working on multiple computers or sharing with colleagues

Programming utilities for...

  • Debugging programs
  • Measuring convergence
  • Marking relevant sample
  • Storing results
  • Handling time-series variables
  • Confirming variable types
  • Controlling display formats
  • Parsing factor variables


  • Ability to add new commands to Stata
  • Ado: scripting language
  • Mata: C/C++ like compiled (byte-code) matrix programming language Updated
  • Mata: object-oriented programming
  • Open development environment: access to the same programming tools StataCorp developers use
  • Access to source of many Stata commands and Mata functions
  • Plugins (DLLs or shared objects)
  • Java plugins—call Java libraries directly from Stata Updated

Creation of Word, Excel, and PDF files

  • Programmatic access to create PDF files New
  • High level import/export of full Excel worksheets
  • Low-level cell-by-cell access to write results to and read data from Excel, including graphs, formulas, date formats, currency formats, bold, italics, and more. Updated

Numerics by Stata

  • Create applications with the power of Stata inside them; see the Numerics by Stata page for more information.

Additional resources

See New in Stata 14 for more about what was added in Stata 14.





The Stata Blog: Not Elsewhere Classified Find us on Facebook Follow us on Twitter LinkedIn Google+ YouTube
© Copyright 1996–2017 StataCorp LLC   •   Terms of use   •   Privacy   •   Contact us