IMPORT FGL

Started by Paul M., November 21, 2017, 02:22:43 PM

Previous topic - Next topic

Paul M.

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


Sebastien F.

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:

QuoteImportant: 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

Paul M.

Hi,

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