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