The GW-Scripting list is a discussion list for information regarding the development and use of Window-Eyes scripts. Any subscriber of the GW-Scripting list has the ability to post on-topic messages.

From:

 Kevin Huber

Subject:

 Re: a little contest: who's got the biggest script?

Date:

 Fri, Oct 15, 2010 3:35:38 pm
Hi Aaron:
I'm confused. Is the if..then..else example that you gave supposed to
be equivalent to the line:
c = (a = b)?
I thought
that c could = either 1 or 0, which would mean that
if a = b then
c = 1
else
c = 0
endif
and the only way that the above could be true is if:
a = 1 and
b = 1,
or am I missing something here?
Kevin Huber

On 10/11/10, Aaron Smith wrote:
On 10/8/2010 8:58 PM, Allison and Chip Orange wrote:
I'm curious: what's the biggest script out there? Of course this isn't a
fair contest or comparison;

I know you already disclaimed this contest, but I want to reiterate that
a script's size is not directly proportional to its functionality or
usefulness. That said, I would prefer to see scripts use as few lines as
possible and still get the job done.

For example, anyone can write a multi-line if statement:

If a = b Then
c = True
Else
c = False
End If

But the real fun comes in getting the job done in a single line:

c = a = b

Aaron

--
Aaron Smith
Product Support Specialist * Web Development
GW Micro, Inc. * 725 Airport North Office Park, Fort Wayne, IN 46825
260-489-3671 * gwmicro.com

To insure that you receive proper support, please include all past
correspondence (where applicable), and any relevant information
pertinent to your situation when submitting a problem report to the GW
Micro Technical Support Team.