BBS: Inland Empire Archive Date: 02-22-93 (13:23) Number: 268 From: DICK DENNISON Refer#: NONE To: GREGORY SHULTZ Recvd: NO Subj: Re: DREADED CTRL-BREAK Conf: (2) Quik_Bas
GS> Mine, too. However, I need to use them. Pascal has a nifty conve GS> (Keyword) for dealing with this problem, but MS BASIC doesn't. I did GS> some code on the QuickShare board in Dallas, in a file called CTLBREA GS> that apparently was code from the days when BASIC used line numbers GS> exclusively. I couldn't make heads or tails of it, and it was replet GS> PEEK's and POKE's, and when I stuck it in my program, the compiler ch GS> it. Like most of the stuff on QuickShare, there weren't any doc's. How about something like this: '$INCLUDE: 'qb.bi' DIM regs AS regtypex DO regs.ax = 0 interruptx &H16, regs, regs a% = (regs.ax MOD 256) IF a% = 13 THEN EXIT DO PRINT CHR$(a%); LOOP --- VP [DOS] V4.09e * Origin: The MailMan (914)374-3903 NY Quick Share Pt #7 *HST (1:272/34)
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