• 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
Making a list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a list


  • Subject: Making a list
  • From: email@hidden
  • Date: Thu, 6 Jun 2002 10:00:27 +0100

I am trying to construct a list of tab marks for use in XPress 4.11

The tabs a proportionately spaced depending on some other criteria. The
routine is:

set tabsBefore to {}
repeat with i from 1 to ColsReq

set end of tabsBefore to ((("Position:" & ((i-1)*icw)+(icw/2)) as
list) & "justification:centered") as list

end repeat


This returns

{{"Position:1.1","justification:centered"},{"Position:
2.2","justification:centered"}}

which XPress doesn't like because of the quotes. I need to return

{{Position:1.1,justification:centered},{Position:
2.2,justification:centered}}

I've tried 'as item' which doesn't make a difference. I've tried 'as
record' which says "Can't make 'Position: 1.1' into a record."

How do I make a string append to a list without the quotes?

Thanks in advance,


Steve
_______________________________________________
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.

  • Prev by Date: Question of the day: (.???) for Compiled AppleScript Files
  • Next by Date: newbie problem with lists
  • Previous by thread: Re: Question of the day: (.???) for Compiled AppleScript Files
  • Next by thread: Re: Making a list
  • Index(es):
    • Date
    • Thread