A89: C -- Boolean logic?
[Prev][Next][Index][Thread]
A89: C -- Boolean logic?
is there a way to do boolean logic in C?
so that instead of doing this:
if(a = 5)
{
if(b = 10)
{
do this code
}
}
l can do this:
if(a = 5 AND b = 10)
{
do this code
}
However, it doesn't work. Any way to do it?
--TurboSoft
Visit the TURBOSOFT HOMEPAGE: The most current Basic programs created by
Turbosoft for the 89, and the most 89 links.
<A HREF="http://turbosoft.ticalc.org/">http://turbosoft.ticalc.org/</A>
Follow-Ups: