~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to macros/util/help_menu.sci

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
function help_menu(i)
 
2
//function associated with the help button in Scilab main window
 
3
  browsehelp=browsehelp;// load browsehelp subfunctions
 
4
  change_old_man()
 
5
  INDEX=make_help_index()
 
6
  if i==1 then
 
7
    browsehelp(INDEX,"index");
 
8
  elseif  i==2 then
 
9
    key=x_dialog('Select a keyword','')
 
10
    if key==[] then return,end
 
11
    key=stripblanks(key(1))
 
12
    if key=='' then return,end
 
13
    apropos(key)
 
14
  elseif   i==3 then
 
15
    browsehelp_configure('set')
 
16
  end
 
17
endfunction