Diff for /parser3/src/classes/string.C between versions 1.7 and 1.8

version 1.7, 2001/03/12 09:08:46 version 1.8, 2001/03/12 21:18:00
Line 25  static void _length(Request& r, const St Line 25  static void _length(Request& r, const St
   
 static void _int(Request& r, const String&, Array *) {  static void _int(Request& r, const String&, Array *) {
         Pool& pool=r.pool();          Pool& pool=r.pool();
         Value& value=*new(pool) VInt(pool, static_cast<int>(r.self->get_double()));          Value& value=*new(pool) VInt(pool, (int)r.self->get_double());
         r.wcontext->write(value, String::Untaint_lang::NO /*always object, not string*/);          r.wcontext->write(value, String::Untaint_lang::NO /*always object, not string*/);
 }  }
   

Removed from v.1.7  
changed lines
  Added in v.1.8


E-mail: