Including C code on A4GL

Alain Siverly <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <[email protected]>
Hi,

my goal ist to include a c file which is not at the same directory as 
the 4gl code.

I began this way. This runs (if my_c_file.c is in the same directory):
{!
code
#include "my_c_file.c"
endcode
!}

But this fails:
LET l_path = "/some/other/directory/my_c_file.c"
{!
code
#include l_path
endcode
!}
The error message is:
menu_show_hide.c:11119:13: error: #include expects "FILENAME" or <FILENAME>

This also fails:
{!
code
#include "l_pfad"
endcode
!}
The error message ist:
...menu_show_hide.c:11119:21: error: l_pfad: No such file or directory
The same error produces #include <l_pfad>

Thank you in advance!

Regards
Alain
VENTAS AG

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.