>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of Jayp
>>
>> For each sprite (which goes up to 100_) I want to repleace the sprites
>> member with that of the corresponding membernum....
>>
>> So sprite 1 will be come the 1st entry in Membernum
>> Sprite 2 will become the second entry in membernum
>> Etc
>>
I'm not really sure if this is what you're looking for.
Untested Lingo.
on makelist
global jp_images
-- initialize a linear list
jp_images = []
repeat with i = 1 to 100
-- initialize a temporary property list
tempList = [:]
-- add properties to tempList
tempList.addProp(#MbrNum, sprite(i).memberNum)
tempList.addProp(#Vertical_location, sprite(i).locV)
tempList.addProp(#Horizontal_location, sprite(i).locH)
-- add tempList to property list
jp_images.add(tempList)
end repeat
end
on Buildmap sourceList
lc = sourceList.count
repeat with X = 1 to lc
sprite(X).member = member(sourceList[X].MbrNum, "iso_images")
sprite(X).locH = sourceList[X].Horizontal_location
sprite(X).locV = sourceList[X].Vertical_location
end repeat
end
call the buildmap handler with your list as parameter
-- Buildmap(jp_images)
- John Erazo
[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!]