Please help me understand this code


Closed Thread
Results 1 to 15 of 15

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    Montreal, QC, Canada
    Posts
    118


    Did you find this post helpful? Yes | No

    Default

    I am using 16F628A
    In the Watch properties of testa I changed the size to 16 bits and that solved it.

    Now how can I get the value of each array data in the watch window?
    let say I have a variable called ArrayVariable(x)
    I would like to read ArrayVariable(1) and ArrayVariable(2)
    The only choice I get from the list is _ArrayVariable

    Thanks

    Mike

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Click View, File Registers, and scroll down until you see _ArrayVariable. This will be
    _ArrayVariable[0]. After that will be the rest of the array.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  3. #3
    Join Date
    May 2009
    Location
    Montreal, QC, Canada
    Posts
    118


    Did you find this post helpful? Yes | No

    Default

    I am all set, thanks so much!

    Mike

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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