Results 1 to 4 of 4

Thread: Equality

  1. #1
    Conrad Smith Guest

    Default Equality

    What is the syntax for test equality, especially using Booleans? Is it:<BR><BR>my_var = true<BR> or<BR>my_var == true<BR>?<BR><BR>A side note: this is the most helpful and useful board I have ever been to. Kudos to the good people.<BR><BR><BR>Conrad

  2. #2
    Join Date
    Dec 1969

    Default RE: Equality

    Javascript ==<BR>VBScript =

  3. #3
    Conrad Guest

    Default RE: Equality

    Then what how do you tell if it is an assignment or a test?

  4. #4
    Join Date
    Dec 1969

    Default RE: Equality

    You don&#039t<BR><BR>x = 1 will set the value x to 1<BR>while ...<BR>y = x = 1 will assign True to y<BR>and ...<BR>z = x = y = 1 will set z = false<BR><BR>That makes thing interesting don&#039t it?<BR>

Posting Permissions

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