January 17, 200917 yr Hi all This code puts out the FMC exec light by making both L:vars =. @FMC_Page_6_1 (L:HoldPage,bool) ! & if{ (L:AltConst:4,feet) s31 (L:AltConstErase:4,number) != if{ l31 (>L:AltConstErase:4,number) } } I have 20 X (L:AltConst:nn,feet) & (L:AltConstErase:nn,number) do I have to code all 20 or is there another way? Paul EGLD
January 17, 200917 yr Hi all This code puts out the FMC exec light by making both L:vars =. @FMC_Page_6_1 (L:HoldPage,bool) ! & if{ (L:AltConst:4,feet) s31 (L:AltConstErase:4,number) != if{ l31 (>L:AltConstErase:4,number) } } I have 20 X (L:AltConst:nn,feet) & (L:AltConstErase:nn,number) do I have to code all 20 or is there another way?Yep, you have to code all 20...however you can also use a goto routine or something similar combined with array macros to reduce the visual code.Tom
January 17, 200917 yr Author Yep, you have to code all 20...however you can also use a goto routine or something similar combined with array macros to reduce the visual code.Tom Hello Tom I have an array setup with L:Altconst values in for the FMC page can I use this. What would I need to change. <Macro Name="ALTconst">l1 @1 == if{ (L:AltConst:@1,feet) } </Macro><Macro Name="Array">@ALTconst(0) @ALTconst(1) @ALTconst(2) @ALTconst(3) @ALTconst(4) @ALTconst(5) @ALTconst(6) @ALTconst(7) @ALTconst(8) @ALTconst(9) @ALTconst(10) @ALTconst(11) @ALTconst(12) @ALTconst(13) @ALTconst(14) @ALTconst(15) @ALTconst(16) @ALTconst(17) @ALTconst(18) @ALTconst(19) @ALTconst(20) </Macro> Paul EGLD
Create an account or sign in to comment