items_in (list, (vb item, int index) {
                                       if (from <= index < from + length)
                                       {
                                         vb x, pstruct x' = get_current (list, access_code);

                                         ...

                                       }
                                     });
