anchor.diff:                                     true, false, Self.VyhPrestavenaNC, Self.VyhNeprestavenaNC);
          end;
   
  -      Self.fstaveni.nextVyhybka := stavim;
  +      Self.fstaveni.nextVyhybka := nextVyhybka;
   
         writelog('Krok 100: prejezdy: uzaviram', WR_VC);
         for i := 0 to Self.fproperties.Prejezdy.Count-1 do
  
positive.code:           Inc(stavim);
           end;
  
          writelog('Stavim ' + Blk.name, WR_VC);
          (Blk as TBlkVyhybka).SetPoloha(TVyhPoloha(Self.fproperties.Vyhybky[i].Poloha),
                                         true, false, Self.VyhPrestavenaJCPC, Self.VyhNeprestavenaJCPC);
         end;
  
negative.code:         if ((Blk as TBlkVyhybka).Poloha <> TVyhPoloha(Self.fproperties.Odvraty[i].Poloha)) then
           begin
            if (stavim >= _JC_MAX_VYH_STAVENI) then
             begin
              if (nextVyhybka = -1) then
                nextVyhybka := i;
              continue;
             end;
            Inc(stavim);
           end;
  
  