Dennis,

It is strange that the Windows version of RStyle automatically makes names 
lower case.  RStyle for DOS does not automatically make names lower case.  I do 
most of my coding using the KEDIT text editor and have a macro which calls the 
DOS version.  I will admit that my DOS version is getting a little long in the 
tooth.  I just wish when i purchase RBase upgrades (I am using v7.6 for DOS) 
that there would be an upgrade to the RStyle DOS version.

Perhaps if enough people ask RBTI will and a option for names that will allow: 
keep as is, make all upper case, or make all lower case.  After all we have 
such an option with keywords.

Jim Bentley
American Celiac Society
[EMAIL PROTECTED]
tel: 1-504-737-3293


--- On Wed, 6/25/08, Dennis McGrath <[EMAIL PROTECTED]> wrote:

> From: Dennis McGrath <[EMAIL PROTECTED]>
> Subject: [RBASE-L] - RE: RStyle Not LowerCase
> To: "RBASE-L Mailing List" <[email protected]>
> Date: Wednesday, June 25, 2008, 9:12 AM
> Each time you RSTYLE a file, new words are added to
> RSTYLE.NEW
> Edit these to the case you want, and append them to the
> RSTYLE.CAS or RSTYLE.VAR file (hereafter called CAS or
> VAR.)
> If these files do not exist just create empty ones.
> 
> If you check the NEW file each time you RSTYLE you will
> find words RSTYLE thinks are new (not keywords and not in
> the CAS or VAR files)
> This can be very handy as it can tip you off to
> misspellings, but if you catch the words while they are
> still cased right you can immediately add them to CAS or
> VAR.
> Try to make sure not to copy misspelled words into those
> files.
> 
> The order of the words in CAS or VAR does not matter as
> RSTYLE will reorder them if necessary, automatically.
> 
> A careful reading of the docs on RSTYLE will alert you to
> many useful features.
> 
> Dennis McGrath
> 
> ________________________________
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Adrian Huessy
> Sent: Wednesday, June 25, 2008 8:54 AM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - RStyle Not LowerCase
> 
> Is there a setting to prevent RStyle to make variable names
> lowercase?
> 
> Using RStyle in RBase Editor, the variable names are set to
> LowerCase or UpperCase running RStyle.
> 
> For one code I wouldn't like that. Variable names
> should be let as tipped in.
> 
> -- Example before
> SEt vAR vThisIsTheTest TexT = 'Hello'
> IF (.vThisIsTheTest = .vOtherVariable) Then
>   write 'identical'
> endif
> RET
> 
> -- Should be transformed by RStyle to
> SET VAR vThisIsTheTest TEXT = 'Hello'
> IF (.vThisIsTheTest = .vOtherVariable) THEN
>   WRITE 'identical'
> ENDIF
> RETURN
> 
> -- but is transformed to
> SET VAR vthisisthetest TEXT = 'Hello'
> IF (.vthisisthetest = .vothervariable) THEN
>   WRITE 'identical'
> ELSE
>   WRITE 'not identical'
> ENDIF
> RETURN
> 
> It seems I don't' see the tree (setting) within the
> forest.
> TIA
> 
> Adrian


      


Reply via email to