• 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
dumb question but vital
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dumb question but vital


  • Subject: dumb question but vital
  • From: Mick <email@hidden>
  • Date: Mon, 09 Jun 2003 17:32:58 -0600

why can I not make a list of lists? I have been trying, desperately to get a
list of file names, make each name into a list and then concatenate those
lists into a list.

Each time I do it the concatenation seems to put the names back as strings.

for example

set x to {}
set x to thisfilename (where filename is a string)
class of x -- returns "list"

but

set x to {}
set y to {}
set x to thisfilename
set y to y & x
class of item 1 of y -- returns "string"


any clues? what am i missing?

Mick
_______________________________________________
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: dumb question but vital
      • From: Andrew Oliver <email@hidden>
  • Prev by Date: Re: [AS Users]Re: Remove extra spaces from a string
  • Next by Date: Get a size of an uploaded picture
  • Previous by thread: Re: [AS Users]Re: Remove extra spaces from a string
  • Next by thread: Re: dumb question but vital
  • Index(es):
    • Date
    • Thread