Web Analytics Made Easy -
StatCounter line continuation - CodingForum

Announcement

Collapse
No announcement yet.

line continuation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • line continuation

    Code:
    if rsregion("Geog_loc") <> "Africa - Gulf of Guinea" AND rsregion("Geog_loc") <> "Africa - Mozambique Channel" AND rsregion("Geog_loc") <> "Asia - Arabian Sea" AND rsregion("Geog_loc") <> "Asia - Commonwealth of Independent States" AND rsregion("Geog_loc") <> "Europe - Commonwealth of Independent States" AND rsregion("Geog_loc") <> "North America - Atlantic Ocean" AND rsregion("Geog_loc") <> "North America - North Atlantic Ocean" then
    how can i split this line of with a continuation character?
    Zend Certified Engineer | Ayrshire Minis - a Mini E-Community | Ayrshire-Based Web Developer

  • #2
    Like so:

    Code:
    if rsregion("Geog_loc") <> "Africa - Gulf of Guinea" AND rsregion("Geog_loc") <> "Africa - Mozambique Channel" _
    AND rsregion("Geog_loc") <> "Asia - Arabian Sea" AND rsregion("Geog_loc") <> "Asia - Commonwealth of Independent States" _
    AND rsregion("Geog_loc") <> "Europe - Commonwealth of Independent States" AND rsregion("Geog_loc") <> "North America - Atlantic Ocean" AND rsregion("Geog_loc") <> "North America - North Atlantic Ocean" then
    OracleGuy

    Comment

    Working...
    X