Mercurial > octave-nkf
comparison src/toplev.cc @ 5199:16a6247730d9
[project @ 2005-03-10 20:24:45 by jwe]
author | jwe |
---|---|
date | Thu, 10 Mar 2005 20:24:45 +0000 |
parents | 85b315ad5f7d |
children | 5f0ad69b5c8c |
comparison
equal
deleted
inserted
replaced
5198:083039a30a3f | 5199:16a6247730d9 |
---|---|
788 std::string arg = args(0).string_value (); | 788 std::string arg = args(0).string_value (); |
789 | 789 |
790 if (! error_state) | 790 if (! error_state) |
791 { | 791 { |
792 Cell c = m.contents (arg.c_str ()); | 792 Cell c = m.contents (arg.c_str ()); |
793 retval = c(0); | 793 |
794 if (c.is_empty ()) | |
795 error ("octave_config_info: no info for `%s'", arg.c_str ()); | |
796 else | |
797 retval = c(0); | |
794 } | 798 } |
795 } | 799 } |
796 else if (nargin == 0) | 800 else if (nargin == 0) |
797 retval = m; | 801 retval = m; |
798 else | 802 else |