Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: testing syntax on no observations

From   evan roberts <>
Subject   st: testing syntax on no observations
Date   Mon, 21 Aug 2006 11:03:46 -0500

Is there a way to run do files (or ado files) on no observations to test that there are no typographical errors that would cause the program to stop?

People familiar with SAS will recognize this as analogous to being able to set OPTION OBS = 0 at the beginning of a file to test the syntax. The program will note that there are no observations, but only actually report errors that would cause a submission with data to fail (e.g; mis-named macros, loops that aren't closed etc.)

Thanks for any and all suggestions
Evan Roberts
Evan Roberts
Minnesota Population Center and Department of History
University of Minnesota
* For searches and help try:

© Copyright 1996–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index