[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] That Do Script thing



At 4:36 PM -0400 9/7/00, Chris Nandor wrote:
>At 12:59 -0700 2000.09.07, Mikael Hansen wrote:
>>That unfortunately is a somewhat cumbersome approach when you have a
>>different number of arguments from time to time and if you have many
>>arguments. It would be so nice if one passed argument of type list
>>would go straight into @ARGV.
>
>Interesting.  I'd have thought it should work.  Is there any way to coerce
>an AppleScript list into a list of discrete items?  I can do "item 1 of
>myList, item 2 of myList" to get a list of those two items, but not "items
>of myList"; the latter appears to return an AppleScript list.  Please tell
>me that AppleScript has a way to do this ...

How do you mean "coerce an AppleScript list into a list of discrete items"?

'items of myList' should just return myList, which is a list to start 
with.  So it's essentially a noop.

You don't mean flatten the list, do you?

-Jeff Lowrey

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org