To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1875
1874  |  1876
Subject: 
Watching Arrays
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 17 Aug 2006 13:17:15 GMT
Viewed: 
10391 times
  
I have a program (RCX2 target) that uses a couple of global arrays.

I am using BricxCC 3.3

How can I view the contents of the array at run time?  "Watch the Brick"
shows me Var0 to Var 31 but these don't seem to relate/contain the
values I initially entered into the array.

Can I see these in BrickxCC?

I know I can writ a function to loop through them on the LCD display,
but was hoping to avoid that :)

-Rob A>



Message has 1 Reply:
  Re: Watching Arrays
 
(...) The way to do this is to find out the variable number assigned by NQC to your array variable and then watch that variable number plus all the ones up through the size of your array. You can find out the variable number by viewing the code (...) (18 years ago, 17-Aug-06, to lugnet.robotics.rcx.nqc)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR