Looping over the WATCH statement

7 views
Skip to first unread message

platzhirsch

unread,
Aug 31, 2010, 5:09:33 AM8/31/10
to omnetpp
Hey there,

I want to WATCH a whole two-dimensional array[][]. What does not work
is:

for (int i ...) {
for (int j...) {
WATCH(array[i][j]);
}
}

Because in the inspection I see then array[i][j] everywhere and not
for instance array[1][5]. Is there a possible way to loop over the
WATCH statement?
Reply all
Reply to author
Forward
0 new messages