[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [GNU-COBOL] New to list
Davyd Ondrejko wrote:
...
> I can see that point, yes. But why would you want to specify a decimal
> point at the right of the PIC when it's pretty much implicit there by
> default?
If you had
pic 9(3)v.
then the v is redundant.
But move 3 to
pic 9(3).. (period in pic plus fullstop)
gives 003.
Move 3 to
pic 9(3). (no period in pic, plus fullstop)
gives
003
So they are different. Why would you want to do that? Don't know
but nothing programmers do will surprise me - it's in the
language anyway.
Tim Josling
--
This message was sent through the gnu-cobol mailing list. To remove yourself
from this mailing list, send a message to majordomo@lusars.net with the
words "unsubscribe gnu-cobol" in the message body. For more information on
the GNU COBOL project, send mail to gnu-cobol-owner@lusars.net.