bug-gnucobol
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: GnuCOBOL call parameter problem.


From: Ron Norman
Subject: Re: Fwd: GnuCOBOL call parameter problem.
Date: Sat, 6 Jun 2020 15:00:00 -0400

Parameters can be optional and the variable NUMBER-OF-CALL-PARAMETERS needs to be set correctly.
Also some parameters can be defined as ANY LENGTH or ANY NUMERIC and for those to work the caller should be COBOL.

On Sat, Jun 6, 2020 at 2:37 PM James K. Lowden <jklowden@schemamania.org> wrote:
On Fri, 5 Jun 2020 19:49:50 -0400
Ron Norman <rjn@inglenet.com> wrote:

> Being compatible with Microfocus is an important feature of GnuCOBOL.

Agreed. 

> Just getting the C API working a few years ago was a far bit of
> effort

No doubt, and I'm glad for it. 

My point, simply, is that there's no technical *need* for cobcall
(although it could be used by programs that expect it).  libcob is
written in C, and its functions are C functions.  I'm hoping you will
explain what dependencies exist in libcob on cobcall, so that they
can be removed, thereby making cobcall strictly optional. 

That would not only make mixing C and Cobol easier; it should simplify
code generation and interaction between the compiled module and the
runtime library. 

--jkl




--
Cheers
Ron Norman

reply via email to

[Prev in Thread] Current Thread [Next in Thread]