Results 1 to 4 of 4

Thread: System variables question...

  1. #1
    Join Date
    Jul 2006
    Posts
    348

    Default System variables question...

    Are all the system variables "%(nn)" read-only? It /appears/ that way, but I wanted to know for sure. (When I make an assignment like "%(1) = 24.0625", the contents of %(1) don't change to reflect the assignment)

    In the v3.8.50 client, The "List Current Variables" command lists quite a number of things. Where is the software reading these from, or are they hard-coded constants in the software?

    Thanks all!

    g.

  2. #2
    Join Date
    Dec 2000
    Location
    Thorp, WI
    Posts
    2,632

    Default

    From the Programming Handbook... These are variables maintained by the software and related to tool setup and operation. You can "get" them, but not write to them in the same manner. If you wanted to change the value that is in %(1), which is the current X location DRO, you would have to use VA,24.0625 or &NewXVal=24.0625 then VA,NewXVal.
    Scott

    If guns kill people, I guess pencils misspell words, cars drive drunk and spoons make people fat.

    "Those who hammer their guns into plows, will plow for those who do not" - Thomas Jefferson




  3. #3
    Join Date
    Jul 2006
    Posts
    348

    Default

    What page? I can't believe I missed that.

    Thanks..

    g.

  4. #4
    Join Date
    Dec 2000
    Location
    Thorp, WI
    Posts
    2,632

    Default

    Page 9 for the system vars and the comref.pdf for the VA command and all the others.
    Scott

    If guns kill people, I guess pencils misspell words, cars drive drunk and spoons make people fat.

    "Those who hammer their guns into plows, will plow for those who do not" - Thomas Jefferson




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •