Documentation: Difference between revisions

Content added Content deleted
(+Stata)
Line 1,404: Line 1,404:


=={{header|Stata}}==
=={{header|Stata}}==
Documentation is written in files with extension .sthlp, in Stata's markup language, SMCL.
Documentation is written in files with extension .sthlp, in Stata's markup language, '''SMCL'''.


For instance, say we have an ado file '''hello.ado''':
For instance, say we have an ado file '''hello.ado''':
Line 1,412: Line 1,412:
end</lang>
end</lang>


The documentation file, hello.sthlp, could be:
The documentation file, '''hello.sthlp''', could be:


<pre>{smcl}
<pre>{smcl}
Line 1,426: Line 1,426:


Put these two file in a directory visible in the ado path. Then call the programm by typing <code>hello</code>, and open its help file by typing <code>help hello</code>.
Put these two file in a directory visible in the ado path. Then call the programm by typing <code>hello</code>, and open its help file by typing <code>help hello</code>.



=={{header|Swift}}==
=={{header|Swift}}==