December 1, 200619 yr Hi all Have problems with following code. It seems I can't get all the lines to work. If you move a line to the bottom line it works but will block another line somewhere above from working. Is there a correct order to stack these or is the code locking up somehow. (L:FMC_Page,enum) 0 == (L:FMC_PLN_Sub,enum) 0 == & if{ 2 s0 1 s1 } (L:FMC_Page,enum) 1 == (L:FMC_PLN_Sub,enum) 0 == & if{ 0 s0 0 s1 }(L:FMC_Page,enum) 1 == (L:FMC_PLN_Sub,enum) 1 == & if{ 0 s0 0 s1 } (L:FMC_Page,enum) 2 == (L:FMC_PLN_Sub,enum) 0 == & if{ 2 s0 1 s1 } (L:FMC_Page,enum) 2 == (L:FMC_PLN_Sub,enum) 1 == & if{ 2 s0 1 s1 }(L:FMC_Page,enum) 2 == (L:FMC_PLN_Sub,enum) 2 == & if{ 2 s0 1 s1 }(L:FMC_Page,enum) 2 == (L:FMC_PLN_Sub,enum) 3 == & if{ 2 s0 3 s1 }(L:FMC_Page,enum) 3 == (L:FMC_PLN_Sub,enum) 0 == & if{ 3 s0 0 s1 }(L:FMC_Page,enum) 3 == (L:FMC_PLN_Sub,enum) 1 == & if{ 3 s0 1 s1 }(L:FMC_Page,enum) 4 == (L:FMC_PLN_Sub,enum) 1 == & if{ 4 s0 1 s1 }(L:FMC_Page,enum) 4 == (L:FMC_PLN_Sub,enum) 2 == & if{ 4 s0 2 s1 }(L:FMC_Page,enum) 4 == (L:FMC_PLN_Sub,enum) 3 == & if{ 4 s0 3 s1 }(L:FMC_Page,enum) 5 == (L:FMC_PLN_Sub,enum) 1 == & (L:PageStart,enum) 1 == & if{ 0 s0 0 s1 }(L:FMC_Page,enum) 5 == (L:FMC_PLN_Sub,enum) 1 == & ageStart,enum) 1 != & if{ 5 s0 1 s1 } (L:FMC_Page,enum) 6 == (L:FMC_PLN_Sub,enum) 0 == & if{ 6 s0 0 s1 }(L:FMC_Page,enum) 7 == (L:FMC_PLN_Sub,enum) 0 == & if{ 7 s0 0 s1 }(L:FMC_Page,enum) 8 == (L:FMC_PLN_Sub,enum) 0 == & if{ 8 s0 0 s1 }(L:FMC_Page,enum) 9 == (L:FMC_PLN_Sub,enum) 1 == & if{ 9 s0 1 s1 }(L:FMC_Page,enum) 9 == (L:FMC_PLN_Sub,enum) 2 == & if{ 9 s0 2 s1 } l0 (>L:FMC_Page,enum) l1 (>L:FMC_PLN_Sub,enum) Maybe breaking it down and using Visible in the area code would be better. Paul EGLD
December 1, 200619 yr from what I remember there is a 256 character limit on closed tags( ), maybe split into a couple macros????Roman FS RTWR SHRS F-111 JoinFS Little Navmap
December 2, 200619 yr Author Hi Roman Thanks, I didn't know that I will go for the split. Paul Paul EGLD
December 2, 200619 yr Hi Paul,Is this a typo product of pasting the text to the message?(L:FMC_Page,enum) 5 == (L:FMC_PLN_Sub,enum) 1 == & ageStart,enum) 1 != & if{ 5 s0 1 s1 } Otherwise, could be the cause of the erratic wrong behavior.And also this lines returns the same current values to both variables:(L:FMC_Page,enum) 4 == (L:FMC_PLN_Sub,enum) 3 == & if{ 4 s0 3 s1 }So in fact produces no visible changes. Is this ok?Tom
December 2, 200619 yr Author Hello Tom Page 4 3 does not use this button if you don't point it back @ page 4 3 it defaults to 0 0 and opens page 0 0 same with the other but with extra condition. It will simplify things to change page 0 0 to stop these extra entries but there is still a problem with reading lines in the stack. Is the stack read from bottom to top if you lower the line it reads it. Paul Paul EGLD
December 3, 200619 yr Paul,Ok I see it now. But then you can shorten the expession using something like this:(L:FMC_Page,enum) s0 sp2(L:FMC_PLN_Sub,enum) s1 sp3l2 0 == l3 0 == & if{ 2 s0 1 s1 } l2 1 == 0 1 l3 rng & if{ 0 s0 0 s1 } l2 2 == 0 2 l3 rng & if{ 2 s0 1 s1 } l2 5 == l3 1 == & if{ (L:PageStart,enum) 1 != d 5 * sp0 s1 }l0 (>L:FMC_Page,enum) l1 (>L:FMC_PLN_Sub,enum)That's something at least :-)Tom
December 6, 200619 yr Author Tom That works OK, reducing the size gets them all in with some spcae to spare. Thanks Paul Paul EGLD
Create an account or sign in to comment