Archive for March, 2007

ColdFusion hates me

So I’m working on (what I’d consider a very small) problem: I need to convert a string to an array, then loop that array and do ‘something’ to each value.

For some reason, that’s beyond my understanding, I can’t get the following code to work (I get ‘invalid com/struct’ errors):

  1. <cfset MyList  = "1,2,3,4">
  2.         <cfset MyArray = ListToArray(MyList)>
  3.         <cfloop collection="#MyArray#" item="i">
  4.                 <cfoutput>#i#:#MyArray[i]#</cfoutput>
  5.         </cfloop>
Bitty says "shut this bullshits"

Miss B. Haven

I love this cat, but she can be a real terror, you know?

Bitty says

[youtube]gUpgTsyi8KM[/youtube]