Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

[no subject]



...and interactive:
. di "If {cmd:saving} is specified, "
If saving is specified,

... and the same thing copied from the viewer:
If {cmd:saving cified,
   ^^^^^
In the two help-files I am currently working on, this happens four times,
and always the mean word 'saving' is involved. Any ideas?

Thanks in advance and best regards,
Daniel

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu]On Behalf Of Roger Newson
> Sent: Tuesday, October 15, 2002 6:38 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: Re: st: problems using SMCL for hlp file
>
>
> At 18:00 15/10/02 +0200, Daniel Müller wrote:
> >I am currently writing a help-file in SMCL. It works well apart
> from a few
> >spots... One example:
> >
> >In the smcl-code of the help file I have a part:
> >{cmdab:sav:ing(} {it:fileout1} {it:fileout2} {it:fileoutX}{cmd:)}
> >
> >If I copy this line and -display- it in the results window, it's appears
> >fine:
> >. di "{cmdab:sav:ing(} {it:fileout1} {it:fileout2} {it:fileoutX}{cmd:)}"
> >saving( fileout1 fileout2 fileoutX)
> >
> >However, if I call the help from within Stata, the same part in
> the viewer
> >looks:
> >saving( eout1} fileout2 fileoutX)
> >
> >The same problem I have in most (but not all...) of my help
> files. What am I
> >doing wrong here?
>
> You should probably write
>
> {cmdab:sav:ing}{cmd:(} {it:fileout1} {it:fileout2} {it:fileoutX}{cmd:)}
>
> or (more simply)
>
> {cmdab:sav:ing}{cmd:(} {it:fileout1 fileout2 fileoutX} {cmd:)}
>
> Either way, the left parenthesis is in cmd mode and not in cmdab mode
> (because we do not abbreviate the left parenthesis).
>
> I hope this helps.
>
> Roger
>
>
>
> --
> Roger Newson
> Lecturer in Medical Statistics
> Department of Public Health Sciences
> King's College London
> 5th Floor, Capital House
> 42 Weston Street
> London SE1 3QD
> United Kingdom
>
> Tel: 020 7848 6648 International +44 20 7848 6648
> Fax: 020 7848 6620 International +44 20 7848 6620
>    or 020 7848 6605 International +44 20 7848 6605
> Email: roger.newson@kcl.ac.uk
>
> Opinions expressed are those of the author, not the institution.
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
>

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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