Mindy,
The item[i] is generally used for 'chunking' through comma-delimited lists.
e.g. put "jazz,funk,blues".item[1] returns 'jazz'
In your code, if you would add:
member("musicLibrary").item[i] = member("musicLibrary") &  &
gmusiclib[i].tagArtist & ...
you would see results like:
(member 2 of castLib 1)Bobby Darin - Splish Splash
,(member 2 of castLib 1)Dion - Runaround Sue

Although the 'item' keyword works on field & text cast members, you get
extra stuff (the fully qualified description of the 'item').
Try Irv's approach ... it's full of 'best practices'.

Mike




Please respond to [EMAIL PROTECTED]

Sent by:    [EMAIL PROTECTED]


To:    <[EMAIL PROTECTED]>
cc:

Subject:    <lingo-l> Concatenating property list values


I'm trying to output some of the values in to a text field member using
this:

    repeat with i = 1 to gmusicLib.count
      member("musicLibrary").item[i] = gmusicLib[i].tagArtist & " - "
& gmusicLib[i].tagTitle & RETURN
    end repeat

All that outputs is the artist name.






[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to