Making a list
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.