Statalist


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

Re: RE: st: Stata 10.1


From   wgould@stata.com (William Gould, StataCorp LP)
To   statalist@hsphsun2.harvard.edu
Subject   Re: RE: st: Stata 10.1
Date   Thu, 14 Aug 2008 11:03:13 -0500

David Kantor <kantor.d@att.net> asked,

> Speaking of the history of Stata, does anyone know what the reserved 
> word -with- is/was for?  It is a reserved word, but as far as I know,
> there is no command that uses it. Or am I wrong about that?  Was it
> ever used? For what?  If not, what was the intent?

In a very early version of Stata, even before the release of Stata 1.0 
in January of 1985, the syntax of the -replace- command was 

        replace <varname> with <#> [in] [if]

The "with <#>" part was replaced with "= <exp>" once we realized we
could merge the code for -replace- and -generate-.

The early syntax of Stata was based on a combination of Wylbur, CMS, 
Unix, and C.  -replace- (and -in-'s #, #/#, and #/l syntax) came from
Wylbur.  Return codes -- and the r(); notation -- came from CMS, as
did the recently mentioned (and long dead) -spool- command.  -spool-
became -log-.  The idea behind -log- came from CMS.  The rest is pretty
obviously Unix and C.

-- Bill
wgould@stata.com
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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