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 <[email protected]> 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.
>
>

Reply via email to