title Module from library BASE_6 : UCLOSE name ('UCLOSE') maclib baselib.lib ; Write end of file and close file ; Copyright (C) Werner Cirsovius ; Hohe Weide 44 ; D-20253 Hamburg ; Tel.: +49-40-4223247 ; Version 1.0 March 1989 ; ENTRY As described in module UDSKPT, location ; must be set up properly ; EXIT On normal return carry is reset ; On error carry will be set entry uclose extrn close,upteof,wrpblk,@cmdsk uclose: call upteof ; Write EOF push ix ld ix,(wrpblk) ld hl,close call nc,@cmdsk ; .. close if poosible pop ix ret end