Re: Call a C program from RPG with variables & a return

Stephen Mooney <stephenmmooney-/[email protected]>
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
Buck,
Thanks.  
I reworked some code and believe it is working.  Thanks to you and Charles for your help.
I am still going to play with 'C' to understand how to get that to work, but for now my immediate task is close to finished. Regards, Stephen M. Mooney

      From: Buck Calabro <[email protected]>
 To: [email protected] 
 Sent: Friday, February 19, 2016 2:10 PM
 Subject: Re: [C400-L] Call a C program from RPG with variables & a return
   
On 2/19/2016 2:08 PM, Stephen Mooney wrote:
> Buck,
> I have tried the dcl-s bignumber Float(8); in my RPG program but keep getting:"An assignment operator is expected with the EVAL operation. "
> I thought I traced it down to PTF SF99701 which needed to be at release level 26 or higher, but after loading release level 37 I still get the same message.  Any suggestions?  Thanks. Regards, Stephen M. Mooney

This is turning into an RPG question :-)
You can use the earlier format for double if you need to:

    d bigNumber      s              4f


-- 
  --buck

Visit wiki.midrange.com and register for an account. Edit a page that
helps you, and because it's public, you'll help someone else, too!

-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.



  
-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.
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.