__mod_setint16

Write a 16-bit signed integer to the modulo buffer and update the pointer. This function evaluates <int_expr> and copies the value to the location pointed to by the modulo pointer. The modulo pointer is then updated by <amount>. <amount> must be a compile-time constant.

Prototype
  int __mod_setint16( int <mod_desc>, int <int_expr>, int 

  <amount> ); 

  
Example

Write the modulo buffer with a value derived from an expression, do not update modulo pointer.

  __mod_setint16( 0, getrandomint(), 0 );