title Module from library BASE_3 : TRNCAT name ('TRNCAT') maclib baselib.lib ; Truncate an existing file ; Copyright (C) Werner Cirsovius ; Hohe Weide 44 ; D-20253 Hamburg ; Tel.: +49-40-4223247 ; Version 1.0 June 1987 ; ENTRY Reg pair points to FCB ; Random record set to last record ; EXIT On normal return carry is reset ; On error carry will be set or extended error ; will be processed public trncat extrn @filop,@error trncat: ld a,.trncat call @filop jp @error ; Process error end