Adrian -

 

Open the Editor and go to the R:Style Setup Settings - Local.  Open the tab
Rstyle.new and you should see your variable names in the list, with the
casing that you entered the first time.   Copy and paste that list onto the
RStyle.cas tab, changing any case in the way you want.  Then run R:Style
again and you'll see the casing as you like.

 

Here's how it works:

 

1.        You type your code the first time, making the upper/lower casing
that you want to see

2.       Run R:Style and it adds any new words (those that are not already
in RStyle.cas) to the RStyle.new list

3.       You can copy, paste the new words from RStyle.New and put them into
RStyle.cas.  The next time you run RStyle it will clean out the RStyle.new
list and only leave in new words (or typos!)

 

The local RStyle.cas file can be saved in each of your database/working
folders and have different words and different casing if you wish.

 

Have fun!

Sami

 

____________________________

Sami Aaron

Software Management Specialists

913-915-1971

[EMAIL PROTECTED]

 

 

 

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