Re: Scope
Re: Scope
- Subject: Re: Scope
- From: Paul Berkowitz <email@hidden>
- Date: Sat, 14 Dec 2002 14:37:21 -0800
On 12/14/02 2:21 PM, "Paul Skinner" <email@hidden> wrote:
>
Gaackk!
>
Sorry. I choked on all that content.
>
I don't immidiately see the problem. But it's Saturday, and I have
>
stuff to do.
>
I ran some of the code that you posted On Saturday, December 14, 2002,
>
at 03:02 PM, and I got a dialog that read...
>
>
All done!
>
1
>
1
>
>
I don't get an error. So what did that tell me? I don't know.
>
How about a post with that WILL clearly demonstrate the problem via
>
the results and or error messages, in in a clearly defined pair of
>
scripts? All the non-crucial variables, comments as to what would
>
happen in some other non-posted script and anecdotal evidence are just
>
camouflage.
>
I'd like to play, but I don't see the problem.
I can't do that. I don't get the error either. But some of my users do. the
scripts I included are schematic representations of the problem. The real
scripts are 90K each. You don't want to see those.
>
>
As a design question, I'd ask why you don't just pass all the
>
pertinent values to all the handlers in their parameters. A list,
>
perhaps.
I explained why not in the last message. If and when there is a run-time
error due to corrupt data in one of the applications being scripted, the
error is caught by a general error trap that relays a lot of pertinent
information to the user in a text file. The error handler needs to be able
to access a lot of accumulating, stored property values, some of which
aren't being dealt with by the current handlers. Many of the routines will
pass through about 40 handlers: there are about 100 handlers all told in the
two scripts. I can't be passing 35 parameters in every handler - 33 of them
probably unused in the current routine - just to avoid using properties:
that's stupid. I don't usually use so many properties, but this time it was
necessary. Every thing else is working just fine, thank you, aside from
the return of the unused var3 from the loaded script.
Forget I asked.
--
Paul Berkowitz
_______________________________________________
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.
References: | |
| >Re: Scope (From: Paul Skinner <email@hidden>) |