- For classes, you can now define an oncopy member program to perform operations when a copy of an object is being created. See [P] class.
- For programmable menus, the maximum number of menu items that can be added to Stata has increased to 1,250 from 1,000; see help window programming.
- Concerning programmable dialogs,
- Child dialogs can now be created.
- New control TEXTBOX allows displaying multiline text.
- In the dialog programming language, (1) if now allows else and (2) new command close closes the dialog programmatically.
- Messages can be passed to dialogs when they are launched; see help db.
- Dialogs can now be designated as modal, meaning that this dialog must be dealt with by the user before new dialogs (other than children) can be launched.
- Several controls have new options and new member programs. For instance, FILE and LISTBOX now have option multiselect, which lets the user pick more than one item.
- Stata’s help files are now named *.sthlp rather than *.hlp, meaning that user-written help files can be sent via email more easily. Many email filters flag .hlp files as potential virus carriers because Stata was not the only one to use the .hlp suffix. You need not rename your old help files. See [R] help.
- Two new C functions have been exposed from Stata for use by plugins: sstore() and sdata(). sstore() stores string data in the Stata dataset and sdata() reads them. See http://www.stata.com/plugins/.
Back to What is New in Stata 10