HP3000-L Archives

February 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Shawn Gordon <[log in to unmask]>
Reply To:
Shawn Gordon <[log in to unmask]>
Date:
Fri, 16 Feb 2001 11:45:32 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (24 lines)
At 10:08 PM 2/15/2001, Wayne R. Boyer wrote:
>If I understand the comment correctly, that's something that I've done many
>many times.  COBOL paragraphs in the COPYLIB are a quick way to create a
>pseudo-subroutine.  I have a rule that only COMPLETE paragraphs are put in
>the COPYLIB though.  That way PERFORM PARAG-A works almost like CALL
>"SUBROUTINEA".
>
>I do convert the more complex chunks of logic into standard subroutines
>though.
>
>Wayne Boyer

The advantage to using macros instead of paragraphs is having parameters
that you can directly pass either as literals or variables (if properly
defined) and you can't do that with a paragraph of actual code.

Regards,

Shawn Gordon
President
theKompany.com
www.thekompany.com
949-713-3276

ATOM RSS1 RSS2