5 Replies Latest reply: Nov 3, 2006 9:59 AM by Charlie Griefer RSS

    Did The 7.02 Upgrade Change the Rules for Variables

    Dan Bracuk Community Member
      If I remember correctly, before we applied the 7.02 upgrade, this code:
      <cfset mylist = "a,b,c">
      <cfoutput>
      <cfloop list = mylist index = "x">
      #x# <br />
      </cfloop>
      </cfoutput>

      would produce
      a
      b
      c

      I now produces
      mylist

      To get the expected (by me, anyhow) result I have to change this
      <cfloop list = mylist index = "x">
      to this
      <cfloop list = #mylist# index = "x">
      or this
      <cfloop list = "#mylist#" index = "x">

      What does the code produce on your system and what version of cf are you running?