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

Buck Calabro <[email protected]>
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
On 2/23/2016 3:05 AM, Scott Klement wrote:
> Buck,
> 
> double would be 8F (not 4F, which would be equivalent to C's "float")

Whoops, yes.  PEBKAC.
  --buck

>> 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: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[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.