If you code Reset_Global_Cache_Values using the style options I listed, the
caps are preserved.
Rick Graham
-----Original Message-----
From:
br_forum-bounces@maillist.ads.net
[mailto:
br_forum-bounces@maillist.ads.net] On Behalf Of Gabriel Bakker
Sent: Sunday, August 31, 2008 4:36 PM
To: Business Rules Forum
Subject: Re: [BR_forum] CONFIG STYLE
Yes, the cool thing about doing it the way Visual Studio does is you
can name your variables in whatever case you like, and the editor will
preserve them.
I have found a way around almost all the annoying interface problems
of BR. I no longer have to worry about line numbers. I can use cleaner
coding expressions such as SELECT CASE (switch). I've even gotten BR
to preserve my blank line spacing. It preserves vertical blank spaces
by making comment lines out of them, and and horizontal spacing is
preserved (in comments) by using the BR "! ." instead of using the
simple "!".
However, the only annoying interface problem I still have to deal with
is the syntax of my variables.
My program uses variable names and function names such as
ResetGlobalCacheValues and fnGetActiveWindow. After washing the
program in BR, it comes back looking like Resetglobalcachevalues and
Fngetactivewindow, which is much harder to read.
Gabriel
2008/8/30 Rickie Graham <
rdgcss@attglobal.net>:
style keywords lower
style labels upper
style expressions mixed
The Visual Studio editor automatically changes variables & labels to
however
you key them in a DIM statement or the line label. I haven't used the
external editor (BrEdit?), but that would be a nice enhancement, if it
doesn't already do that.
There are a lot of other things that make up "style". This could be a
topic
for an extended discussion.
Rick Graham
________________________________
From:
br_forum-bounces@maillist.ads.net
[mailto:
br_forum-bounces@maillist.ads.net] On Behalf Of Susan Smith
Sent: Friday, August 29, 2008 9:17 PM
To: Business Rules Forum
Subject: [BR_forum] CONFIG STYLE
Hi all,
I've never used a CONFIG STYLE in my WBCONFIG.SYS file before to format my
source code while editing. When I need indents, I just use spaces. I'm
curious as to your favorite STYLE settings for readability of your source
code. I tried this one, which I copied off the wiki, modifying all of the
UPPER settings to MIXED:
STYLE INDENT 0 0 KEYWORDS MIXED EXPRESSIONS MIXED LABELS MIXED COMMENTS
CLEAR
I could hardly read it and my eyes glazed over. Am I just too used to all
caps? What style statement do you prefer?
-- Susan
No virus found in this incoming message.
Checked by AVG -
http://www.avg.com
Version: 8.0.138 / Virus Database: 270.6.12/1640 - Release Date: 8/28/2008
6:58 PM
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
No virus found in this incoming message.
Checked by AVG -
http://www.avg.com
Version: 8.0.169 / Virus Database: 270.6.14/1643 - Release Date: 8/30/2008
5:18 PM
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
Post generated using Mail2Forum (
http://www.mail2forum.com)