Hi,<br><br>I would like to how if I can do this, but without that bounding ...<br><br>advice execution("% %::%(...)")() && that(agent) : before(MainProgram* agent) {<br> cout<<"\n Something ...";
<br>}<br>
<br><br>Something like this:<br><br>advice execution("% %::%(...)")() && that(MainProgram) : before() {<br> cout<<"\n Something ..."; <br>}<br><br>I treid this and got this erro.
<br><br>ag++ MainProgram.cc -c<br>aspecto.ah:32: error: 'MainProgram' is not in argument list<br>error: Execution failed: "ac++" --config "puma.config" -p. -c "MainProgram.cc" -o "
MainProgram.acc"<br>make: *** [a] Error 1<br><br><br>How I can do this? thxs for any help!<br><br>