[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GnuCOBOL call parameter problem.
From: |
Ron Norman |
Subject: |
Re: GnuCOBOL call parameter problem. |
Date: |
Fri, 5 Jun 2020 16:37:08 -0400 |
Or maybe the document need some more info. The COBOL - C API was developed a
few years ago.
Cheers,
Ron Norman
(Sent from my iPhone)
> On Jun 5, 2020, at 16:30, James K. Lowden <jklowden@schemamania.org> wrote:
>
> On Thu, 4 Jun 2020 14:35:21 -0400
> Ron Norman <rjn@inglenet.com> wrote:
>
>> GnuCOBOL supports many of the same routines defined by Microfocus...
> ...
>> cobcall ("routine1",2,argv);
>
> Hmm. Section 11.8.5. of the cobc Programmer?s Guide, "C Main Programs
> Calling GnuCOBOL Subprograms" does not mention cobcall. The string
> "cobcall" does not appear in that manual, nor in the info file. This,
> as John Cleese might say, is an ex-function.
>
> Nor is cobcall a good idea. A good idea is what the Programmer's Guide
> documents: Cobol functions called from C programs with the C calling
> convention, full stop. Maybe the library has to be initialized, sure,
> fine, OK. But a special gateway function to call all other functions?
> Why?
>
> If we want to include -- and document -- cobcall for compatibility
> purposes with MF, that's also fine. But we shouldn't require it or
> depend on it.
>
> Can you explain how deep the current dependency goes, and what in your
> mind would be needed to get rid of it?
>
> --jkl
>
- GnuCOBOL call parameter problem., rdubner, 2020/06/04
- Message not available
- Fwd: GnuCOBOL call parameter problem., Ron Norman, 2020/06/04
- Re: Fwd: GnuCOBOL call parameter problem., James K. Lowden, 2020/06/05
- Re: GnuCOBOL call parameter problem.,
Ron Norman <=
- Re: Fwd: GnuCOBOL call parameter problem., Ron Norman, 2020/06/05
- Re: Fwd: GnuCOBOL call parameter problem., James K. Lowden, 2020/06/06
- Re: Fwd: GnuCOBOL call parameter problem., Ron Norman, 2020/06/06
- Re: Fwd: GnuCOBOL call parameter problem., James K. Lowden, 2020/06/06
- Re: GnuCOBOL call parameter problem., Ron Norman, 2020/06/06
- Re: Fwd: GnuCOBOL call parameter problem., Ron Norman, 2020/06/06
- Re: GnuCOBOL call parameter problem., Simon Sobisch, 2020/06/06
- Re: GnuCOBOL call parameter problem., Ron Norman, 2020/06/06
- Re: GnuCOBOL call parameter problem., Ron Norman, 2020/06/06