Menu

Commit [r9270]  Maximize  Restore  History

Added a new 4gl function 'aclfgl_call_in_shared' -

that last two parameters should be a share library file and function

File.4gl:
function func(a)
define a char(20)
display "Hello ",a
end function

Compile this as a DLL
$ 4glpc --as-dll File.4gl -o File.so

You can then call it using

main
call aclfgl_call_in_shared("Bob",
# Last two parameters are file and function name..
"File","func")
end main

mikeaubury 2007-03-22

changed /aubit4glsrc/trunk/lib/libaubit4gl/builtin.c
/aubit4glsrc/trunk/lib/libaubit4gl/builtin.c Diff Switch to side-by-side view
Loading...