Sender: nate AT cartsys DOT com Message-ID: <3787A009.58275F0D@cartsys.com> Date: Sat, 10 Jul 1999 12:33:29 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: it's amazing (at least for me) References: <378618ca DOT 3495674 AT news DOT telepac DOT pt> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com aperes wrote: > > In this little C program if i change the type of variable k (in setup > function) to byte the program don't work. Can anyone explain me why? > Thanks What is the range of a byte? Yes, 0 to 255, inclusive. When will the test `k < 256' fail? Never. Solution: Don't do that. -- Nate Eldredge nate AT cartsys DOT com