Four Js Development Tools Forum

Discussions by product => Genero BDL => Topic started by: Paul M. on November 21, 2017, 03:22:43 pm



Title: IMPORT FGL
Post by: Paul M. on November 21, 2017, 03:22:43 pm
fglrun 3.10.08

Hi,

Is there anyway to use IMPORT FGL to use common modules that are not in the current source directory.

/u/project1/source/
                             myfile.4gl  -- IMPORT FGL common1 ?
                                                 IMPORT FGL common2 ?

/u/common/source/
                               common1.4gl
                               common2.4gl



Title: Re: IMPORT FGL
Post by: Sebastien F. on November 21, 2017, 03:27:12 pm
Hello,

Have a look at this page:
http://4js.com/online_documentation/fjs-fgl-manual-html/#c_fgl_programs_IMPORT_FGL.html

You can read this note:

Quote
Important: Auto-compilation of imported modules is only supported if the imported module is in the current directory. Modules located in other directories and found by FGLLDPATH must already be compiled.

seb


Title: Re: IMPORT FGL
Post by: Paul M. on November 21, 2017, 03:33:54 pm
Hi,

Thanks for the quick reply. The FGLLDPATH is the key to it working.