Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2004
    Posts
    82

    Exclamation Unanswered: Multiple Variable

    This time is more simple.

    I want to create a program which tells the user which sex their baby is. (Don't ask it's a project that would definately benifit the family) SO:
    ___________
    | TXTAGE | INPUT AGE IN HERE
    |___________ |
    ___________
    | TXTMONTH | AND THE MONTH OF CONCEIVING HERE
    |___________|

    If txtage = "18" and txtmonth = "Janurary" and here i want to put March as weli have I tried "or" and "/" how can i use "MULTIPLE VARIABLES"

    THANKS AGAIN

  2. #2
    Join Date
    Jun 2004
    Location
    Arizona, USA
    Posts
    1,848
    Try

    If txtage = "18" and (txtmonth = "Janurary" or txtmonth = "March") then
    Lou
    使大吃一惊
    "Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
    "I have my standards. They may be low, but I have them!" - Bette Middler
    "It's a book about a Spanish guy named Manual. You should read it." - Dilbert


  3. #3
    Join Date
    Aug 2004
    Posts
    82
    Thanx for that it working perfectly and the program is complete

Posting Permissions

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