Results 1 to 2 of 2

Thread: [RESOLVED] conditional and logical

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2008
    Posts
    182

    Resolved [RESOLVED] conditional and logical

    hi i need help in find out the difference between a conditional statement and a logical statement. i cant figure it out and i think the two statements are the same but may be wrong.

    so can somebody explain the two statements and give examples? thanks in advance

  2. #2
    PowerPoster
    Join Date
    Jan 2008
    Posts
    11,074

    Re: conditional and logical

    If A = B Then C = D

    Is a conditional statement. C will only equal D if the condition A = B is True

    B = 5
    C = 3
    D = 7

    A = B And C And D

    Is a logical statement. A will be equal to 1 because B, C, D are logically AND's together
    Last edited by jmsrickland; Jun 15th, 2008 at 01:58 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width