Browse Source

HPCC-12470 Document IMPORT ^ syntax

Signed-off-by: Jim DeFabia <jamesdefabia@lexisnexis.com>
Jim DeFabia 10 năm trước cách đây
mục cha
commit
4e589ae432

+ 4 - 0
docs/ECLLanguageReference/ECLR_mods/ResrvdKywds-IMPORT.xml

@@ -96,6 +96,8 @@
   <emphasis>folder</emphasis>) available for use in the current ECL
   code.</para>
 
+  <para></para>
+
   <para>Example:</para>
 
   <programlisting>IMPORT $;                               //makes all definitions from the same folder available
@@ -114,6 +116,8 @@ IMPORT SomeFolder.SomeFile;             //make the specific file available
 
 IMPORT SomeReallyLongFolderName AS SN;  //alias the long name as "SN"
 
+IMPORT ^ as root;                       //allows access to non-modules defined in the root of the repository
+
 IMPORT Def1,Def2 FROM Fred;             //makes Def1 and Def2 from Fred folder available, unqualified
 
 IMPORT * FROM Fred;                     //makes everything from Fred available, unqualified