code: public static Object currentrow(PageContext pc, Object obj) throws PageException {
  	if (obj instanceof Query) return Caster.toDouble(((Query) obj).getCurrentrow(pc.getId()));
  	return pc.getCollection(obj, KeyConstants._CURRENTROW);
      }
docs: used by generated bytecode