Hi everyone,
I thought I'd let you know what I discovered the problem to be with
concatenating data from my array for display. Well, the data in the
arrays is pulled from an id3 tag of an mp3 using binary functions. I
think some invisible invalid character was being stored in my data
values, because when outputted my entire array in the message window,
copyied it, cleared the array and then pasted it's contents equal to the
array, everything worked. That explains why everyone who copied my code
from here had no problems. This may be a bad way to do it but this fixed
the problem:

On populateMusicLibrary
    --removes invalid binary characters
    temp = value(string(gmusicLib))
    gmusicLib = []
    gmusicLib = temp
    
    --for each index in gmusicLib, add to text field member
    member("musicLibrary").text = ""
    repeat with i = 1 to gmusicLib.count
      member("musicLibrary").line[i] = gmusicLib[i].tagArtist & " - " &
gmusicLib[i].tagTitle
    end repeat
    member("musicLibrary").scrollTop = 0
End

I just thought I'd share the fix with everyone. Does anyone have any
suggestions on how I better compensate for this binary problem?? It
seems my way is a bad fix, and that I should target catching it at the
source.

I really appreciate everyone's help :)
Thanks,
mindy

[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