• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
list of lists as arrays - creating?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: list of lists as arrays - creating?
      • From: Paul Berkowitz <email@hidden>
    • Re: list of lists as arrays - creating?
      • From: Andy Wylie <email@hidden>
  • Prev by Date: Re: 256 char limit on alias path?
  • Next by Date: Re: list of lists as arrays - creating?
  • Previous by thread: Re: get image size (W x H)--thanks
  • Next by thread: Re: list of lists as arrays - creating?
  • Index(es):
    • Date
    • Thread