list of lists as arrays - creating?
list of lists as arrays - creating?
- Subject: list of lists as arrays - creating?
- From: email@hidden
- Date: Tue, 2 Apr 2002 02:53:49 EST
Specific Question: does a list of lists (i.e. - a 2 dimensional array) have
to be dimensioned in some way in order to bring it into existance?
attempted sample code:
set OurFileWidth to 100
set OurFileHeight to 100
try
set TheTestArray to {{}, {}}
repeat with Width from 1 to OurFileWidth
repeat with Height from 1 to OurFileHeight
set item Height of item Width of TheTestArray to "0"
end repeat
end repeat
on error
display dialog "Wasn't able to fill the array"
end try
always generates the dialog box.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.