comparison src/help.cc @ 7752:40c428ea3408

initial implementation of dbup and dbdown
author John W. Eaton <jwe@octave.org>
date Sun, 04 May 2008 03:42:19 -0400
parents 6873fe003323
children a2ab20ba78f7
comparison
equal deleted inserted replaced
7751:7c020c067a60 7752:40c428ea3408
565 int key_len = key.length (); 565 int key_len = key.length ();
566 566
567 string_vector bif = symbol_table::built_in_function_names (); 567 string_vector bif = symbol_table::built_in_function_names ();
568 int bif_len = bif.length (); 568 int bif_len = bif.length ();
569 569
570 string_vector glb 570 // FIXME -- is this really necessary here?
571 = symbol_table::variable_names (symbol_table::global_scope ()); 571 string_vector glb = symbol_table::global_variable_names ();
572 int glb_len = glb.length (); 572 int glb_len = glb.length ();
573 573
574 string_vector top 574 // FIXME -- is this really necessary here?
575 = symbol_table::variable_names (symbol_table::top_scope ()); 575 string_vector top = symbol_table::top_level_variable_names ();
576 int top_len = top.length (); 576 int top_len = top.length ();
577 577
578 string_vector lcl; 578 string_vector lcl;
579 if (! symbol_table::at_top_level ()) 579 if (! symbol_table::at_top_level ())
580 lcl = symbol_table::variable_names (); 580 lcl = symbol_table::variable_names ();