PDA

View Full Version : pick coorelation, hit stack



true_atlantis
09-14-2005, 01:38 PM
how is the select buffer layed out when doing pick coorelation? im just trying to get a list of every element hit, but i am getting a large random int for the last one. what i thought was the first element was

selectBuf[7]

then each next buffer is 4 away from that... that will give me all but the last element.. anyone know why?

dorbie
09-16-2005, 09:37 PM
The buffer returns the number of elements hit, the min and max depth then the stack names. Remember that you only get the names back that you supply. You may be reading a depth value and assuming that it's a name or could you be reading more hits that the first entry tells you you have?