Mercurial > hg > octave-max
comparison src/pt-mvr.cc @ 2946:6744ac301eef
[project @ 1997-05-09 12:41:28 by jwe]
author | jwe |
---|---|
date | Fri, 09 May 1997 12:42:36 +0000 |
parents | 026f342c2019 |
children | 194b50e4725b |
comparison
equal
deleted
inserted
replaced
2945:3ca5a67dcf55 | 2946:6744ac301eef |
---|---|
135 | 135 |
136 if (error_state) | 136 if (error_state) |
137 eval_error (); | 137 eval_error (); |
138 else | 138 else |
139 { | 139 { |
140 if (error_state) | 140 if (all_args_defined (args)) |
141 eval_error (); | 141 { |
142 else | 142 octave_value_list tmp = id->eval (print, 1, args); |
143 { | 143 |
144 if (all_args_defined (args)) | 144 if (error_state) |
145 { | 145 eval_error (); |
146 octave_value_list tmp = id->eval (print, 1, args); | 146 else if (tmp.length () > 0) |
147 | 147 retval = tmp(0); |
148 if (error_state) | 148 } |
149 eval_error (); | 149 else |
150 else if (tmp.length () > 0) | 150 { |
151 retval = tmp(0); | 151 ::error ("undefined arguments found in index expression"); |
152 } | 152 eval_error (); |
153 else | |
154 { | |
155 ::error ("undefined arguments found in index expression"); | |
156 eval_error (); | |
157 } | |
158 } | 153 } |
159 } | 154 } |
160 } | 155 } |
161 else | 156 else |
162 { | 157 { |
186 | 181 |
187 if (error_state) | 182 if (error_state) |
188 eval_error (); | 183 eval_error (); |
189 else | 184 else |
190 { | 185 { |
191 if (error_state) | 186 if (all_args_defined (tmp_args)) |
192 eval_error (); | 187 { |
193 else | 188 retval = id->eval (print, nargout, tmp_args); |
194 { | 189 |
195 if (all_args_defined (tmp_args)) | 190 if (error_state) |
196 { | 191 eval_error (); |
197 retval = id->eval (print, nargout, tmp_args); | 192 } |
198 | 193 else |
199 if (error_state) | 194 { |
200 eval_error (); | 195 ::error ("undefined arguments found in index expression"); |
201 } | 196 eval_error (); |
202 else | |
203 { | |
204 ::error ("undefined arguments found in index expression"); | |
205 eval_error (); | |
206 } | |
207 } | 197 } |
208 } | 198 } |
209 } | 199 } |
210 else | 200 else |
211 { | 201 { |