Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help file


    Hi,
    I need your help please!!
    I'm thinking of writing help files for the Stata programs I've been working on, and was wondering if anyone could point me to some useful material on getting started. Best regards
    Last edited by ANA KHAILFI; 19 Jun 2016, 06:37.

  • #2
    http://www.stata.com/manuals14/u18.pdf 18.11.6

    This is already within your Stata installation as part of the .pdf documentation.

    Comment


    • #3
      thank you very much!!!

      Comment


      • #4
        Hello,
        I try to excute my helpfile but i have an error message :
        "program error: code follows on the same line as open brace"

        When i excute only this part of programme :

        {smcl}
        {* *! version 14.1 20juin2016}{...}
        {vieweralsosee "[R] help" "help help "}{...}
        {viewerjumpto "Syntax" "myhelpfile##syntax"}{...}
        {viewerjumpto "Description" "myhelpfile##description"}{...}
        {viewerjumpto "Options" "myhelpfile##options"}{...}
        {viewerjumpto "Remarks" "myhelpfile##remarks"}{...}
        {viewerjumpto "Examples" "myhelpfile##examples"}{...}
        {title:Title}
        Last edited by ANA KHAILFI; 20 Jun 2016, 04:52.

        Comment


        • #5
          You don't execute help files: you view them using help

          Comment


          • #6
            but when i tape help my command
            "help not found"
            I saved the helpfile in the same directory of . ado

            In another term,

            what are the steps after writing the program ?
            Last edited by ANA KHAILFI; 20 Jun 2016, 05:32.

            Comment


            • #7
              If you write a program say frog the .ado and .sthlp

              Code:
              frog.ado
              frog.sthlp
              should go in the f folder of what adopath calls PERSONAL. See [U] 18.11.6.

              If toad then the t folder etc.

              If you do that then

              Code:
              help frog
              should show you the help file.

              Comment


              • #8
                thank you very much i will try it!!!
                I'm so happy
                It is ok
                thank you N.Cox
                Last edited by ANA KHAILFI; 20 Jun 2016, 06:06.

                Comment

                Working...
                X