Results 1 to 1 of 1
-
11-24-2004, 05:34 AM #1Enrico SchirattiGuest
Re: [LOGIC] "or" function broken ?
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
>
Similar Threads
-
Real Flight Simulators versus PC "Games" - the eternal debate...
By ryanf in forum Pilots Lounge - Let your Hair downReplies: 3Last Post: 01-01-2010, 06:32 PM -
Looking for "Below GS" and "Spoilers armed" annunciator light offset
By PeterH in forum PM General Q & AReplies: 17Last Post: 03-05-2008, 12:39 PM -
Gwyn Perrett's Article "Creating a glass cockpit display"
By Matt Olieman in forum General Builder Questions All Aircraft TypesReplies: 0Last Post: 08-31-2007, 07:20 PM -
Boeing GC: "Step"-function and startup problem
By stefanloss in forum PM General Q & AReplies: 10Last Post: 04-27-2007, 02:37 PM