#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    5
    Rep Power
    0

    Question about include all


    Hello Everyone,

    I am trying to write an if statement to include all future versions of windows 8.

    Like this

    <cfelseif #bi.getPlatform()# EQ "Windows Vista" OR #bi.getPlatform()# EQ "Windows 7" OR #bi.getPlatform()# EQ "Windows 8" OR #bi.getPlatform()# EQ "Windows 8.1">
    <cfset checkOSName = "passed">
    </cfif>

    Instead of adding
    # EQ "Windows 8" OR #bi.getPlatform()# EQ "Windows 8.1">

    I would like to add a wild card like # EQ "Windows 8*" > (But that does'nt work)

    A catch all. Anyone know how I could write this?

    Thanks, Dan
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,273
    Rep Power
    968
    What is this "bi" object that you're calling getPlatform() on?

IMN logo majestic logo threadwatch logo seochat tools logo