Announcement

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

  • Display Local Variables in Do File

    I'd like to be able to display the value of local variables in Do files for general troubleshooting purposes. As a simple example, the following code does not work:

    local ASDF = 1
    display ASDF

    which gives an error of ASDF invalid name. How should I code such instances to be able to display a local variable?

    Thanks

  • #2
    Code:
    . local ASDF = 1
    
    . display `ASDF'
    1

    Comment


    • #3
      Thanks, I was using the wrong quote sign, but it works now.

      Comment

      Working...
      X