definition list recommendations?
definition list recommendations?
- Subject: definition list recommendations?
- From: email@hidden
- Date: Tue, 25 Jan 2005 06:54:38 -0700
I am parsing a file and replacing codes with strings.
The codes and string definitions number just over 1850 items.
I'm listing the code as a property label and the replacement string as the definition.
I get a stack error when I try to compile all of them as properties in Script Debugger:
property r5 : "<*p$><&pbu(219,258,144,144,n,0,,,,n,,,f,,,,,,,\"SVR:ART:filename\")>"
--repeated over 1800 times
--then I go through the data line at a time (or I would if I could)
repeat with n from 1 to (count of thedata)
if item n of thedata = "r5" then
set currentline to r5
else if item n of thedata begins with "cd" then
set currentline to cd
--etc, etc, etc...
When I make just the property list in Script Editor, it will save without errors,
but when I add the conditions to handle all of the replacements,
it gives me the stack error too.
Is there a way to accomplish this to avoid stack errors?
Are there other limitations I should be aware of?
Is there an easier way?
--
David Stevens _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden