Diff for /parser3/src/classes/math.C between versions 1.3 and 1.4

version 1.3, 2001/07/07 16:38:01 version 1.4, 2001/07/18 10:06:04
Line 39  static void _random(Request& r, const St Line 39  static void _random(Request& r, const St
                         &method_name,                          &method_name,
                         "bad range [0..%u]", max);                          "bad range [0..%u]", max);
                   
         r.write_no_lang(*new(pool) VInt(pool, rand()%max));          Value& result=*new(pool) VInt(pool, rand()%max);
           result.set_name(method_name);
           r.write_no_lang(result);
 }  }
   
   

Removed from v.1.3  
changed lines
  Added in v.1.4


E-mail: