[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [open-cobol-list] Open-Cobol-0.23.19 Remainder
From: |
William M. Klein |
Subject: |
RE: [open-cobol-list] Open-Cobol-0.23.19 Remainder |
Date: |
Mon Mar 1 16:06:03 2004 |
Since '89, the "Standard" way to get a remander without a GIVING phrase is
to use the REM intrinsic function. (I don't know of any compiler allowing
this with the DIVIDE statement - but there may be one)
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On
> Behalf Of Keisuke Nishida
> Sent: Sunday, February 29, 2004 8:30 AM
> To: Alain Lucari
> Cc: address@hidden
> Subject: Re: [open-cobol-list] Open-Cobol-0.23.19 Remainder
>
> At Sat, 28 Feb 2004 19:18:32 +0100,
> Alain Lucari wrote:
> >
> > Alwyays with O-C-0.23.19, a sentence like :
> > "divide X into Y remainder Z" wich seem to me correct,
> > give "parse error, unexpected REMAINDER" .
> >
> > it is the same with "divide X into Y rounded remainder Z" .
> > Unless "divide X into Y giving Y remainder Z" is well compiled.
>
> It seems GIVING is required. Is there any compiler that allows
> to omit it?
>
> Keisuke
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> open-cobol-list mailing list
> address@hidden
> https://lists.sourceforge.net/lists/listinfo/open-cobol-list
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- RE: [open-cobol-list] Open-Cobol-0.23.19 Remainder,
William M. Klein <=