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

Re: st: Clickable examples in ado help files

From (Vince Wiggins, StataCorp)
Subject   Re: st: Clickable examples in ado help files
Date   Thu, 18 Sep 2003 13:25:31 -0500

Mark Schaffer <> asks about clickable commands in help
files and also notes some difficulty using the SMCL tag {stata ...} to load
datasets over the net,

> [...] I tried to put a clickable command to load the data in the
> help file with the command
> {stata use ""; : . stata 
> use}   

Mark notes that he doesn't get what he wants on the screen and clicking the
link produces an error message, rather than load the data.  I agree with Nick
Cox <> that the best idea is often to run a program that
preserves the data, but Mark can make his SMCL help file load this dataset.
The problem with the construct Mark is using is that while -use- does not need
this particular file name bundled in quotes, the SMCL tag {stata ...} DOES
need the full command name bundled in quotes.  Using

{stata "use"; : . stata use}

into the help file, works under both Stata 7 and Stata 8.

-- Vince

*   For searches and help try:

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