Branch: Tag:

2014-08-18

2014-08-18 18:12:05 by Martin Nilsson <nilsson@opera.com>

Improved cast method.

141:    return ns;   }    - protected mixed cast(string to) { -  switch(to) { -  case "array": + protected mixed cast(string to) + { +  if( to=="array" )    return _values(); -  default: +     return UNDEFINED;   } - } +       string _sprintf(int t) {    return t=='O' && sprintf("%O%O", this_program, _values());   }