http://www.ousob.com --- Legacy Redefined #include <stdlib.h> #include <extend50.h> CLIPPER b_mod() { int gotAproblem = 0; int retVal = -1; int numOne = _parnd(1); int numTwo = _parnd(2); if( PCOUNT != 2 || !ISNUM(1) || !ISNUM(2) ) { gotAproblem++; } if( !gotAproblem ) { if( numTwo > 0 ) { retVal = (numOne % numTwo); } } _retnd(retVal); }