Enrico Schiratti
02-08-2006, 06:08 AM
Hi,
just a note... there is no reason to use 4F4 if you are using the variables
nosmokingsign or seatbeltsign...
Ciao
Enrico
"Peter Parnreiter" wrote in message
news:388102.77811@wb.onvix.com...
> Hello
> Just another code snipset for 747 people
> Auto Modes refer to 747 AOM
>
> if seatbelts = 1 then
> seatbeltsign = (fsaltitude 0) or (flapsControl > 0) or (passoxygen =
> 1)
> else
> seatbeltsign = seatbelts 0
> endif
> if seatbeltsign then
> pm4F4 =425
> else
> pm4F4 =426
> endif
> if NoSmoking= 1 then
> NoSmokingsign = (fsgear > 0) or (passoxygen = 1)
> else
> NoSmokingsign = NoSmoking 0
> endif
> if NoSmokingsign then
> pm4F4 =422
> else
> pm4F4 =423
> endif
>
>
> uses extra sysvars
> 0BE8 4 fsgear
> passoxygen wherever you want and possible set by
> hardwareswitch
>
> Regards Peter
>
just a note... there is no reason to use 4F4 if you are using the variables
nosmokingsign or seatbeltsign...
Ciao
Enrico
"Peter Parnreiter" wrote in message
news:388102.77811@wb.onvix.com...
> Hello
> Just another code snipset for 747 people
> Auto Modes refer to 747 AOM
>
> if seatbelts = 1 then
> seatbeltsign = (fsaltitude 0) or (flapsControl > 0) or (passoxygen =
> 1)
> else
> seatbeltsign = seatbelts 0
> endif
> if seatbeltsign then
> pm4F4 =425
> else
> pm4F4 =426
> endif
> if NoSmoking= 1 then
> NoSmokingsign = (fsgear > 0) or (passoxygen = 1)
> else
> NoSmokingsign = NoSmoking 0
> endif
> if NoSmokingsign then
> pm4F4 =422
> else
> pm4F4 =423
> endif
>
>
> uses extra sysvars
> 0BE8 4 fsgear
> passoxygen wherever you want and possible set by
> hardwareswitch
>
> Regards Peter
>