[Cialug] JS Question

Paul Gray gray at cs.uni.edu
Mon Jan 28 14:00:30 CST 2013


On 01/28/2013 01:50 PM, Scott Yates wrote:
> Right, double equal means (is this equal to) where single equal means (make
> this equal to)
>
>
> On Mon, Jan 28, 2013 at 1:46 PM, Paul Gray<gray at cs.uni.edu>  wrote:
>
>> On 01/28/2013 01:40 PM, L. V. Lammert wrote:
>>
>>> { VV.TotalPrinted.value==0; }
>>>
>>
>> Looks like a boolean test rather than an assignment statement.
>>
>> (not a javascript guru - take with a grain of salt)

My point is that the logical test doesn't make sense in the logic of the 
code, especially in light of the prior conditional outcome that sets 
VV.TotalPrinted.value to 5.

A boolean test here seems to do nothing, based on true or false 
evaluation.  Looks like a logic-O (as opposed to a type-o) in the code 
to me.


-- 
Paul Gray                                         -o)
314 East Gym                                      /\\
University of Northern Iowa                      _\_V
   Message void if penguin violated ...  Don't mess with the penguin
   No one ever says "Hey, I can't read that ASCII e-mail ya sent me."


More information about the Cialug mailing list