No result (part 2)
No result (part 2)
- Subject: No result (part 2)
- From: Mr Tea <email@hidden>
- Date: Fri, 15 Mar 2002 22:06:37 +0000
Oops. Sent part one prematurely by mistake. I'll start again.
I have an intermittent problem with numerical results not being displayed
in Script Editor's results window. Briefly, when the last result returned
by a script run in Script Editor is a number (integer or real), this
result only displays once, on the first run of the script. So, if I run
this script:
5 + 4
--> 9
...but if I run it a second time the result window is blank. If the
script is changed so that a non-numerical result is returned, the result
window displays correctly again:
5 + 4 & ()
--> (9)
(Does the list display braces? I wasn't sure - but that's what the
brackets will compile to.)
If, instead, I change the script so that a different number is returned:
5 + 5
... the result window still won't display a the result.
Here's what it all boils down to: when the result window has displayed a
number, it won't display another number until after it has displayed
something else (eg, a list or string).
As I stated, this problem is intermittent. When I was running tests prior
to sending this message, Script Editor crashed (log available on request)
and when I relaunched it the problem had gone away. (don't you hate
that). I rebooted & started over, and Script Editor started showing this
behaviour again after about 5 minutes of testing. So I didn't imagine it.
It's doing it right now.
I'm seeing it at the moment in OS X 10.1.3 with AS 1.8.2b1. With all the
skipping to and fro between operating systems, I can't say for sure
whether or not I've seen this in 9.
Can anyone else make it happen?
Mr Tea
--
"Always remember to warm the pot."
_______________________________________________
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.