Re: Date manipulation
From: Howard Brazee (howard_at_brazee.net)
Date: 12/30/03
- Next message: Judson McClendon: "Re: CoBOL moved to OO"
- Previous message: Judson McClendon: "Re: Confessions of an "OO Foreigner""
- In reply to: Binyamin Dissen: "Re: Date manipulation"
- Next in thread: Richard: "Re: Date manipulation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 16:15:46 GMT
On 30-Dec-2003, Binyamin Dissen <postingid@dissensoftware.com> 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.
>
> How does the compiler know that each time the same result will be returned?
>
> Perhaps a static variable or random number affects the result?
It assumes that a display statement is meant to act as though it was
instantaneous.
It's easy enough to do - the question is whether or not that is the way it's
supposed to work. I was under the impression that that IS the way it is
supposed to work, and that is the way it does work in my environment.
- Next message: Judson McClendon: "Re: CoBOL moved to OO"
- Previous message: Judson McClendon: "Re: Confessions of an "OO Foreigner""
- In reply to: Binyamin Dissen: "Re: Date manipulation"
- Next in thread: Richard: "Re: Date manipulation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|