Hi there
Yet another question concerning text - I usually make games so I have had no
need to use text before to any great extent!
Anyway I have a property list as follows:
set
gList_Of_Contact_Data=[["Name":"Paul","Email":"[EMAIL PROTECTED]","Cou
ntry":"England"],�
["Name":"Tiffany","Email":"[EMAIL PROTECTED]","Country":"England"]]
Which could have thousands of individual records.
I have a button that when pressed will display a list of all the names in
alphabetical order. Now the only way I can think of doing this is as
follows:
set temp_name_text=""
repeat with temp=1 to count(gList_Of_Contact_Data)
set temp_name_text=temp_name_text &
getaProp(gList_Of_Contact_Data[temp],"Name") & Return
end repeat
set the text of member "myField" = temp_name_text
Can anyone suggest a better way as I am sure there must be one]
Thanks
Paul
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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!]