Re: A89: C -- Boolean logic?


[Prev][Next][Index][Thread]

Re: A89: C -- Boolean logic?




if(a==5&&b==10)
{
do this code;
}

At 08:44 PM 9/17/99 EDT, you wrote:
>
>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>
>
>
>
Thanks,
	-Rob Smith
---
AiM: billvortex     Irc: Kormoc
IcQ: 41180184       Global Messanger: billvortex
Fax:(248)928-5015   Voicemail:1-888-EXCITE2 Ext:71-78-71-92-38
---
Get Paid To Surf Online, Get Paid For Time Your Friends Are Online:
http://www.gotoworld.com/getpaid/default.asp?rid=1020670478
---
"Our challenge is to efficiently leverage other's enterprise-wide resources
in order that we may completely leverage existing progressive paradigms for
100% customer satisfaction."
	-Mission Statement
________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at
http://www.netzero.net/download/index.html


References: