From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2001-02-26 11:25:11
On Sun, Feb 25, 2001 at 10:40:45PM -0500, troy silvey wrote: > Is there a good recomend substitute method for > inputing integer data from the user given the libs > supported with CC65? I am working with gets() > with mixed results. I want to be able to input > ints like 36, 259, 1950 .... I learned with scanf, but > I don't know other ways yet. For the debugger module, I've written some small routines to input hex numbers and strings. You may modify it to suit your needs. Unlike scanf, it does not accept any illegal input characters. Have a look at the dbg.c module in the library source. The functions are named Input and InputHex. Regards Uz -- Ullrich von Bassewitz uz_at_musoftware.de ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:39 CET