I have used RSTYLE for a very long time. I have it set to change
keywords to upper case and to full length any abbreviations I have typed
when it checks the code. I bought a copy from Dennis many, many years
ago. I think R:azzak was a sharp cookie when he merged it into R:Base.
It finds all my booboos before they lock up my system.
Albert
On 2015-10-16 8:17 AM, Javier Valencia wrote:
All my code includes the full syntax for the command, no shortcuts or
abbreviations and I try to add commentsdescribing what the program is
doing; I use uppercase for all commands. At my age, remembering what
the logic was behind the programming is becoming more difficult and
the comments help a lot when reviewing older code.
Using abbreviation was OK in the old days when memory was at a premium
but now that memory is plentiful. It makes no sense to me to use
shortcuts and/or command abbreviation that makes the code challenging
to read and very difficult for those not experienced in R:Base
programming. Now, when I write code, I do it with the idea that
someone else will be maintaining it in the future and I want to make
it easy for them to understand what I was doing. Just my two cents…J
Javier,
Javier Valencia, PE
O: 913-829-0888
H: 913-397-9605
C: 913-915-3137
*From:*[email protected] [mailto:[email protected]] *On Behalf Of
*Karen Tellef
*Sent:* Friday, October 16, 2015 8:13 AM
*To:* [email protected]
*Subject:* [RBASE-L] - Re: extracting the most recent data
This validates something I do and I'm glad to see it! I had a
consultant yell
at me once for "taking the time" to add parenthesis and commas into
commands
that were written by someone else lacking those things. I knew
someday that
sloppy codewriting might come back to hit ME even though I hadn't
written it.
I will continue to monitor for 100% correct syntax!!
I think with the advent of mobile devices and texting, etc., future
programmers
will have issues with the concept of needing every single comma in its
perfect
place, no shorthand! Unless of course someone invents a programming
language
not requiring perfection....
Karen
-----Original Message-----
From: A. Razzak Memon <[email protected] <mailto:[email protected]>>
To: karentellef <[email protected] <mailto:[email protected]>>
Sent: Fri, Oct 16, 2015 7:24 am
Subject: [RBASE-L] - RE: extracting the most recent data
At 09:58 PM 10/14/2015, Michael J. Sinclair wrote:
>RDCC set me
straight....
>
>Here is what they said......
>
>This is not a bug.
>
>When
using the correct and current command syntax for the BROWSE command,
>the issue
should not occur.
>
>BROWSE (MAX(RDATE_)), PATNUMBR, CPTCODE, SERVICE FROM
TODO0 GROUP BY
>PATNUMBR, CPTCODE, SERVICE
>
>Please note the use of commas
in the command syntax.
>
>I was not using the commas correctly.
>
>Now I
have a much improved concept of the power of the group by
>option and how
>to
use it.
Yes, the R:DCC (R:BASE Development Corner Crew) will always set
things straight!
Enjoy all privileges of communicating directly with the
development
team of R:BASE,
and the unprecedented product support.
Very
Best R:egards,
Razzak