setResult Label bug

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

setResult Label bug

West, Erik
There appears to be a bug with the results table labeling function. I
have written generically:

setResult("Label", row, ID);
setResult("Mean Value", row, value);

Where "ID" is a string containing the label I want and "value" is a
floating point value I want associated with the ID. ID and value are
both set, however as this progresses through a loop, the previous label
for each row is blanked. The values continue to update no problem,
however every time the label is updated, the previous one is blanked
leaving me with nothing but the last label each time. All of the values
associated with the labels remain.

Is this a bug or something wrong with the way I've written my code?
Thanks for any help!


Erik


-----------
Confidentiality Notice: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and/or privileged information. If you are not the intended recipient(s), you are hereby notified that any dissemination, unauthorized review, use, disclosure or distribution of this email and any materials contained in any attachments is prohibited. If you receive this message in error, or are not the intended recipient(s), please immediately notify the sender by email and destroy all copies of the original message, including attachments.
Reply | Threaded
Open this post in threaded view
|

Re: setResult Label bug

Gabriel Landini
On Friday 30 July 2010 18:54:30 you wrote:
> Is this a bug or something wrong
with the way I've written my code?

This seems to work fine:

for
(row=0;row<10;row++){
ID="xxxxx";
value=10*row;
setResult("Label", row,
ID);
setResult("Mean Value", row, value);
}
updateResults() ;

So, maybe you
are missing the last line of the macro above?

Cheers
G.