>Your message is a reply to anothers post and is more than 100 lines of text. Unless you are
>a major writer, your probably adding a lot of the previous replies. Please trim your
>posts when replying. Thank you.

says it didnt come through so here it is again....

well it does just what it says : )

Just break one of the listgetat() functions down.....

ListGetAt(item1, 1)

is the same as

ListGetAt("cass1,cass2,cass3", 1)

the list "cass1,cass2,cass3" has three items in it

cass1
cass2
cass3

each item's position in a list is represented by a number form left to right starting with 1.... in this specific case...

case1 would be at position 1,
case2 would be at position 2
case3 would be at position 3

so.... with the above functions...

ListGetAt(item1, 1)
and
ListGetAt("cass1,cass2,cass3", 1)

both of these would return case1 since it is at position 1 of thie list

I hope that doesnt confuse you even more
  ----- Original Message -----
  From: Tim Laureska
  To: CF-Talk
  Sent: Thursday, August 26, 2004 9:13 PM
  Subject: RE: structure output

  Now we're talking... thanks Ewok... I want to understand this though...

  I understand the cfsets are setting up lists, but get slightly confused
  on the rest... if I can, I'd like to take that one step at a time:

  I know this is setting up a loop that loops as many times as there's
  elements in "item1"
  <cfloop from="1" to="#ListLen(item1)#" index="i">

  But this I don't understand:
  #ListGetAt(item1, i)#&

  Listgetat by defintion returns a specific element in a list at a
  specified position.... but can you clarify what that piece of code does
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to