[Coco] Another Basic09 Question

L. Curtis Boyle curtisboyle at sasktel.net
Sun May 26 22:56:19 EDT 2019


You can either SHELL TMODE to disable both (quit and abort - syntax will depend on the version of TMODE you are using), or you can do a
Syscall to do an SS.Opt GetStat and SetStat, resetting the two to 0 in between. 

Sent from my iPhone

> On May 26, 2019, at 8:49 PM, Aaron <manney at gmail.com> wrote:
> 
> Hi all,
> 
> I'm working on testing out some stuff I'm wanting to do with Basic09 and
> I've run in to something that I'm not entirely familiar with.  Basically,
> I'm using `inkey` to grab keystrokes in a test program that will then print
> out their ASCII codes.  But I'm not too sure how to stop CTRL-E and CTRL-C
> from stopping the program in it's tracks.  My Google-fu is lacking so I
> thought I'd come on here to ask a noobish question.  How do you catch and
> handle it when a user presses BREAK / CTRL-E and CTRL-C?
> 
> Thanks.
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
> 



More information about the Coco mailing list