Math add to a buffer number

I have this payload that I need to add with 1, but i cant get it working.
Can someone help?


var askno = msg.dynet[5] ;

msg.askno = askno ;

msg.askno1 = askno + 1;

return msg;

That looks fine, with the limited look at your debug it is hard to say what's occurring . Is the debug set to show the complete message output

works for me.

When you say it isn't working...... what are you getting and what are you expecting? What does a debug on the output show?

Really sorry, I my received buffer did send the wrong number, the code was correct

Thansk for your response

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.