Re: newbie question on cobol syntax
- From: LX-i <lxi0007@xxxxxxxxxxxx>
- Date: Tue, 24 Apr 2007 19:08:26 -0600
Howard Brazee wrote:
On Mon, 23 Apr 2007 20:20:50 -0600, LX-i <lxi0007@xxxxxxxxxxxx> wrote:
It does. That is, the Cobol standard does avoid such tricks andI was thinking that it was forbidden per the standard. I guess I haven't been out of the scene for that long... :)
specifies that the above does not comply. It is only some vendors that
allow such tricks.
Which is why in my first message of the thread mentioning this
possibility, I said:
Some compilers will allow
I remember - but I also remember thinking, then, that telling a newbie about a dangerous feature allowed by some compilers, might not have been the best direction to take the conversation. (Kind of like telling someone to overrun their table index if they needed more memory - sure, it'll work, but it's not the right way to do it.)
But, it wasn't my conversation, so I stayed out... :) Today, I was coding away at my new Java job, and found myself creating a setter method...
public void setDescription(final String psDescription) {
move psDescription to msDescription
}
I got to the "c" in "msDescription" and realized what I was doing! Oops...
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Albuquerque, NM! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or a man who's offended by a God he doesn't believe in?" - Brad Stine
.
- Follow-Ups:
- Re: newbie question on cobol syntax
- From: Pete Dashwood
- Re: newbie question on cobol syntax
- References:
- newbie question on cobol syntax
- From: Mayer
- Re: newbie question on cobol syntax
- From: William M. Klein
- Re: newbie question on cobol syntax
- From: Howard Brazee
- Re: newbie question on cobol syntax
- From: William M. Klein
- Re: newbie question on cobol syntax
- From: Howard Brazee
- Re: newbie question on cobol syntax
- From: Richard
- Re: newbie question on cobol syntax
- From: LX-i
- Re: newbie question on cobol syntax
- From: Howard Brazee
- newbie question on cobol syntax
- Prev by Date: Re: newbie question on cobol syntax
- Next by Date: Re: newbie question on cobol syntax
- Previous by thread: Re: newbie question on cobol syntax
- Next by thread: Re: newbie question on cobol syntax
- Index(es):
Relevant Pages
|