Hi! 7-Мар-2004 18:47 [EMAIL PROTECTED] (Bart Oldeman) wrote to [EMAIL PROTECTED]:
>> EXACTLY! Now I see that put_unsigned() and put_string in prf.obj have a >> CBW instruction that does just that! So, what do you suggest? I think that >> we can just apologise to K&R and change c in put_console() to char. BO> or cast to unsigned char. Or, better, use appropriate types (instead later castings) whenever possible. BO> That's standard practice just like for is* functions. ______________O\_/_________________________________\_/O______________ #define isalnum(c) (_ctype[(c) + 1] & (_IS_DIG | _IS_UPP | _IS_LOW)) #define isalpha(c) (_ctype[(c) + 1] & (_IS_UPP | _IS_LOW)) [...] _____________________________________________________________________ O/~\ /~\O BTW, BC anyway defines _ctype only as 128-byte table. :( ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click _______________________________________________ Freedos-kernel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-kernel