41 for (std::list<octave_value_list>::const_iterator p = lst.begin ();
50 data = lst.front ().data;
55 for (std::list<octave_value_list>::const_iterator p = lst.begin ();
105 elem (len + i) = lst (i);
119 elem (n - i - 1) = tmp;
133 if (offset < 0 || offset >= len)
135 if (! (rep_length == 0 && offset == len))
137 error (
"octave_value_list::splice: invalid OFFSET");
142 if (rep_length < 0 || rep_length + offset > len)
144 error (
"octave_value_list::splice: invalid LENGTH");
157 retval(k++) =
elem (i);
160 retval(k++) = lst (i);
163 retval(k++) =
elem (i);
174 if (!
elem(i).is_string ())
201 if (
elem (i).is_cell ())
213 if (
elem(i).is_magic_colon ())
237 total_nr += n ? n : 1;
241 if (! fcn_name.empty ())
266 error (
"%s: expecting all arguments to be strings", fcn_name.c_str ());