PDA

View Full Version : Re: [LOGIC] "or" function broken ?



Enrico Schiratti
11-24-2004, 05:34 AM
Hi,

the OR is fine... there seemed to be something wrong with the brackets,
should be OK with the new version.

Ciao

Enrico

"David Allen" wrote in message
news:270345.53698@wb.onvix.com...
> Hello Enrico
> With build 42d, using the "stock" pmsys737.txt file the following code
> will not work correctly:
>
> WindowHeatSLOn = (WindowHeatSL or (Testheat = 2)) and transbus1
> WindowHeatSROn = (WindowHeatSR or (Testheat = 2)) and transbus1
> WindowHeatFLOn = (WindowHeatFL or (Testheat = 2)) and transbus2
> WindowHeatFROn = (WindowHeatFR or (Testheat = 2)) and transbus2
>
> When Testheat equals 2 the "ON" lamps illuminate. But if WindowHeatSL
> is turned on (= 1) then the compounding "ON" indicator will not
> illuminate.
>
> Commenting out past the WindowHeatSL verifies that the switch will
> turn the indicator on or off
>
> WindowHeatSLOn = (WindowHeatSL) // or (Testheat = 2)) and transbus1
>
> So it would appear that the "OR" function is not working
>
> David
> 737FlightSim.com
>