Re: Date manipulation

From: Richard (riplin_at_Azonic.co.nz)
Date: 12/30/03


Date: 30 Dec 2003 10:51:40 -0800


"Howard Brazee" <howard@brazee.net> wrote

> > > I was under the impression that this gets converted into one call though.
> >
> > How would the compiler do that ?
>
> By having a little bit of smarts. It isn't difficult to see that the same
> function was called 6 times in one display statement.

And what if it was FUNCTION RANDOM that was being called 6 times ?
Would the compiler think that it is a good idea to make that just one
call ?

How about FUNCTION READ_NEXT_RECORD ?



Relevant Pages

  • Re: COBOL Standards Issue
    ... "Howard Brazee" wrote: ... >> If the number of values is correct, the compiler will flag any OCCURS ... Sun Valley Systems ...
    (comp.lang.cobol)
  • Re: Installing HLA
    ... Another option is to code the compiler with some 'smarts' so that it ... will detect a "hw.hla.txt" case and rename (after consulting the user) ...
    (alt.lang.asm)
  • Re: Date manipulation
    ... >> By having a little bit of smarts. ... Richard, that brings up a thought, relative to the OO threads now ongoing. ... In one case the compiler ... it is the ramifications of the concept that I'm ...
    (comp.lang.cobol)
  • Re: Date manipulation
    ... :>By having a little bit of smarts. ... How does the compiler know that each time the same result will be returned? ... Director, Dissen Software, Bar & Grill - Israel ...
    (comp.lang.cobol)
  • Re: Prodcuing an output file only on Friday?
    ... Howard Brazee wrote: ... were more efficient than a direct comparison' appears to be demonstrably ... on computer and compiler you used for the test. ... Mr Brazee, that might just possibly, perhaps, be one of the reason why I ...
    (comp.lang.cobol)