cvs.gedasymbols.org/archives/browse.cgi | search |
Sender: | nate AT cartsys DOT com |
Message-ID: | <3787A009.58275F0D@cartsys.com> |
Date: | Sat, 10 Jul 1999 12:33:29 -0700 |
From: | Nate Eldredge <nate AT cartsys DOT com> |
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> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |