Announcement

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

  • Stata command to read an ado file

    Dear Statalist users:

    I have a very quick question here. How could you read the ado-file directly by typing somthing like "read regress.ado" to see its original coding? I remember I used this kind of command a few years ago while I was learning how to program an ado file. But I could not recall it now and I could not find it online. Thank you and I look forward to hearing from you soon!


    Best,
    Long

  • #2
    help viewsource

    Comment


    • #3
      Long:
      Code:
      viewsource regress.ado
      will do the trick.

      PS: crossed in the cyberspace with Stephen's helpful reply.
      Kind regards,
      Carlo
      (Stata 19.0)

      Comment


      • #4
        Thank you Stephen Jenkins and Carlo Lazzaro! This is exactly the command I was looking for!

        Comment

        Working...
        X