FCB delete

 BBS: Inland Empire Archive
Date: 01-03-93 (08:10)             Number: 268
From: DICK DENNISON                Refer#: NONE
  To: ERIC B. FORD                  Recvd: NO  
Subj: FCB delete                     Conf: (2) Quik_Bas
Not sure if it was you looking for the fcb delete, but:

'Dick Dennison 12/92 PD Delete with FCB

'$INCLUDE: 'qb.bi'
DIM regs AS RegTypex
'CHDIR "xxx"         'change directory
TYPE fcblock         'setup file control block
 drive AS STRING * 1
 filename AS STRING * 8
 ext AS STRING * 3
 fill AS STRING * 25
END TYPE
DIM fcb AS fcblock
fcb.filename = "????????"  'wildcards
fcb.ext = "???"
fcb.drive = CHR$(0)      'default drive
regs.ax = &H1300         'Int 21h Service 13h
regs.ds = VARSEG(fcb)    'DS:DX points to FCB
regs.dx = VARPTR(fcb)
CALL interruptx(&H21, regs, regs)


--- VP [DOS] V4.09e
 * Origin: The MailMan  (914)374-3903 NY Quick Share Pt #7 *HST (1:272/34)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET