Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: saving local macros


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   Re: st: RE: saving local macros
Date   Wed, 14 Jan 2009 22:55:15 +0100

Hope I am being helpful to this thread, but has anybody mentioned Mata`s capabilities in the area of string processing? I seem to remember from our Mata course in Milan that there are helpful tools in there. Kit mentioned in San Francisco that -adoupdate- uses it a lot internally for such purposes...

HTH
Martin
_______________________
----- Original Message ----- From: "David Elliott" <[email protected]>
To: <[email protected]>
Sent: Wednesday, January 14, 2009 10:30 PM
Subject: Re: st: RE: saving local macros


One needs to be precise when discussing string limits in Stata because
they differ depending on context.

For macros, character limits are not exceeded except in unusual
circumstances ( see Stata's help for limits :
http://www.stata.com/help.cgi?limits )

There is a 244 character limit for string variables and string
expressions which is restrictive if, for example, you wished to store
and process long bodies of text in Stata.  But in this case, you might
be using the wrong tool for the job.  Databases with varchar or memo
fields are happy compactly storing text and have an army of functions
including regular expressions to do sophisticated text processing.

It is attractive to do all one's work within a single programming
environment, but that can become a trap if one has to start employing
ugly kludges to do something some other environment was designed to
handle routinely.

--
David Elliott
*
*   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/



*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index