[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNU-COBOL] PIC




> to move into a structure you have to qualify e.g.
> MOVE read-data TO LAST-NAME OF (IN) ADDRESS-BOOK  ---- or
> MOVE read-data TO LAST-NAME OF (IN) ADDRESS-KEY-0
> OF or IN is used interchangeably in this instance.

No, you don't.  It's allowed but certainly not required, unless you
happen to have more than one variable called LAST-NAME in your program. 
I had actually never seen that syntax until last year, though I
admittedly have only worked in about half-a-dozen shops.

-- 
David R. Ondrejko - EDI/Referral - Safelite Glass Co.
 Mathematician by training - Programmer by trade - Philosopher by nature
 Genius by genetics - Atheist by conviction - Hedonist by desire!

--
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.