Resistive transition of crystalline Y1Ba2Cu3O7−x in magnetic fields