help %helps targetted the symbols page 30/18630/1
Samuel GOUGEON [Mon, 24 Oct 2016 13:32:39 +0000 (15:32 +0200)]
Change-Id: Ib4feb8b8053850dbda2ca9642074eee2817788b4

scilab/modules/helptools/macros/help.sci

index f49ab8f..bfae44a 100644 (file)
@@ -38,6 +38,7 @@ function help(varargin)
             // Search a function name
             key=stripblanks(key)
 
+            global %helps
             if or(part(key,1)==["(",")","[","]","{","}","%","''","""",":","*","/","\",".","<",">","&","^","|","~","+","-"]) & exists(key)==0 then
                 key="symbols";
             end
@@ -47,7 +48,6 @@ function help(varargin)
                 key="symbols";
             end
 
-            global %helps
             helpbrowser(%helps(:,1), key, getlanguage(), %f);
 
             // If the function name does not exists then full-text search is done (See Java code)