Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: IMPORT FGL  (Read 6232 times)
Paul M.
Posts: 31


« 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

Sebastien F.
Four Js
Posts: 509


« Reply #1 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
Paul M.
Posts: 31


« Reply #2 on: November 21, 2017, 03:33:54 pm »

Hi,

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

Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines