	title	Module from library BASE_3 : RNDWRT
	name	('RNDWRT')
	maclib	baselib.lib

; Write a random record to disk

; Copyright (C)	Werner Cirsovius
;		Hohe Weide 44
;		D-20253 Hamburg
;		Tel.: +49-40-4223247

;		Version 2.2 April 1987

; ENTRY	Reg pair <DE> points to FCB

; EXIT	On normal return carry is reset
;	On error carry will be set or extended error
;	will be processed

	entry	rndwrt

	extrn	@filio,@error

rndwrt:
	ld	a,.wrrnd
	call	@filio
	jp	@error		; Process error

	end

