Re: CA-Easytrieve Users
- From: "tlmfru" <lacey@xxxxxxx>
- Date: Sat, 15 Dec 2007 16:37:21 -0600
Of course there are many different ways of doing this. No doubt there are
even some that will meet with more approval than others. So what? It
works, it's easy to understand, and that's what I would usually expect of
"highly maintainable" code. No doubt I would run a listing-formatter to
make it easier to read if I had to make any changes, but that's because I'm
Elegance is strictly in the eye of the beholder where the golden proportion
Judson McClendon <judmc@xxxxxxxxxxxxx> wrote in message
There are no syntax errors.
I have attached some code for you to see.
IF PROVTYPE = '08'
MOVE 'PUBLIC' TO HOSP
IF PROVTYPE = '09''10''11'
MOVE 'PRIVATE' TO HOSP
IF PROVTYPE = '27'
MOVE 'DAY HOSP' TO HOSP
IF PROVTYPE = '00'
MOVE 'MEDIGAP' TO HOSP
MOVE 'OTHER' TO HOSP
That's "elegant" alright. And that code indenting thing is so difficult
to implement, too. Makes it "highly maintainable". :-)
Judson McClendon judmc@xxxxxxxxxxxxx (remove zero)