comparison src/oct-obj.cc @ 2086:bfb775fb6fe8

[project @ 1996-04-25 05:55:19 by jwe]
author jwe
date Thu, 25 Apr 1996 05:55:19 +0000
parents 003570e69c7b
children 8b262e771614
comparison
equal deleted inserted replaced
2085:7603b37325db 2086:bfb775fb6fe8
30 30
31 #include "error.h" 31 #include "error.h"
32 #include "oct-obj.h" 32 #include "oct-obj.h"
33 33
34 int 34 int
35 Octave_object::all_strings (void) const 35 octave_value_list::all_strings (void) const
36 { 36 {
37 int n = length (); 37 int n = length ();
38 38
39 for (int i = 0; i < n; i++) 39 for (int i = 0; i < n; i++)
40 if (! elem(i).is_string ()) 40 if (! elem(i).is_string ())
42 42
43 return 1; 43 return 1;
44 } 44 }
45 45
46 string_vector 46 string_vector
47 Octave_object::make_argv (const string& fcn_name) const 47 octave_value_list::make_argv (const string& fcn_name) const
48 { 48 {
49 string_vector argv; 49 string_vector argv;
50 50
51 if (all_strings ()) 51 if (all_strings ())
52 { 52 {