[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Writing out Names with special signs or words
The macval() function may help in stopping Stata from trying to expand the
problem characters as macros. See -help macro- (I don't see anything under
----- Original Message -----
"Akihito Tokuhara" <firstname.lastname@example.org> wrote
I have some trouble trying to write out the names into a separate text
not writing in log file. I use the command filewrite, etc. without
But the names may have idiosyncratic signs, or sub-words which Stata
as (probably) built-in related commands or , such as "divident", "series",
<snip> Problem 1: Sometimes, a single quote. like in #1, 15, 17, 27, 30
as in list above,
causes Stata to stop.
Problem 2: Some words, like Series, divdent or PIF (see # 31, 32 and 33
gives error message as "option not allowed".
I tried many combinations of double quotes, but still cannot write out
If I use command "outfile", then all names are written out as is.
Is there any way to do it with command "file write" ?
Thanks in advance.
* For searches and help try: