[BR_forum] CONFIG STYLE
Moderators: Susan Smith, admin, Gabriel
-
- Posts: 717
- Joined: Sun Aug 10, 2008 4:24 am
- Location: Southern California
[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
Post generated using Mail2Forum (http://www.mail2forum.com)
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
Post generated using Mail2Forum (http://www.mail2forum.com)
[BR_forum] CONFIG STYLE
Style Keyword lower Label UPPER Expression MiXed
i don't like the indent style because it changes whatever you do, but these other ones are what i like.
-john
2008/8/29 Susan Smith <susan@creativelyspeaking.net (susan@creativelyspeaking.net)>
i don't like the indent style because it changes whatever you do, but these other ones are what i like.
-john
2008/8/29 Susan Smith <susan@creativelyspeaking.net (susan@creativelyspeaking.net)>
Post generated using Mail2Forum (http://www.mail2forum.com)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
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net (BR_forum@maillist.ads.net)
http://maillist.ads.net/mailman/listinfo/br_forum
-
- Posts: 717
- Joined: Sun Aug 10, 2008 4:24 am
- Location: Southern California
[BR_forum] CONFIG STYLE
Thanks John. I just tried it your way. I DEFINITELY like the labels in upper case. I'm still considering the mixed expressions. I appreciate the input.
There are many features in BR that I just never took advantage of when they first came out. (If it ain't broke, don't fix it, I suppose) But now and then, I see somebody's source code where things are done another way, and it makes me realize that there is much I haven't tried. And THAT makes me wonder what else I'm missing.
-- Susan
John Bowman wrote:
There are many features in BR that I just never took advantage of when they first came out. (If it ain't broke, don't fix it, I suppose) But now and then, I see somebody's source code where things are done another way, and it makes me realize that there is much I haven't tried. And THAT makes me wonder what else I'm missing.
-- Susan
John Bowman wrote:
Post generated using Mail2Forum (http://www.mail2forum.com)Style Keyword lower Label UPPER Expression MiXed
i don't like the indent style because it changes whatever you do, but these other ones are what i like.
-john
2008/8/29 Susan Smith <susan@creativelyspeaking.net (susan@creativelyspeaking.net)>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
[BR_forum] CONFIG STYLE
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
Post generated using Mail2Forum (http://www.mail2forum.com)
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
Post generated using Mail2Forum (http://www.mail2forum.com)
[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>:
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)
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
Post generated using Mail2Forum (http://www.mail2forum.com)
[BR_forum] CONFIG STYLE
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>:
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)
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>:
howeverstyle keywords lower
style labels upper
style expressions mixed
The Visual Studio editor automatically changes variables & labels to
topicyou 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
_______________________________________________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)
[BR_forum] CONFIG STYLE
Right, but then I have to keep typing the underscore, which is
annoying and also makes the Variable Names look funny.
Surely it couldn't be too hard to just make BR ignore the case of my
variables...
Gabriel
On Sun, Aug 31, 2008 at 7:59 PM, Rickie Graham <rdgcss@attglobal.net> wrote:
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)
annoying and also makes the Variable Names look funny.
Surely it couldn't be too hard to just make BR ignore the case of my
variables...
Gabriel
On Sun, Aug 31, 2008 at 7:59 PM, Rickie Graham <rdgcss@attglobal.net> wrote:
_______________________________________________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>:howeverstyle keywords lower
style labels upper
style expressions mixed
The Visual Studio editor automatically changes variables & labels totopicyou 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_______________________________________________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
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)
[BR_forum] CONFIG STYLE
Like everything else, "beauty is in the eye of the beholder"
Being a Cobol programmer for some 35+ years, variable names in Cobol are
often coded as Customer-Name, so Customer_Name looks great to me.
Rick Grahjam
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Gabriel Bakker
Sent: Tuesday, September 02, 2008 1:13 PM
To: Business Rules Forum
Subject: Re: [BR_forum] CONFIG STYLE
Right, but then I have to keep typing the underscore, which is
annoying and also makes the Variable Names look funny.
Surely it couldn't be too hard to just make BR ignore the case of my
variables...
Gabriel
On Sun, Aug 31, 2008 at 7:59 PM, Rickie Graham <rdgcss@attglobal.net> wrote:
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/1647 - Release Date: 9/2/2008
6:02 AM
_______________________________________________
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)
Being a Cobol programmer for some 35+ years, variable names in Cobol are
often coded as Customer-Name, so Customer_Name looks great to me.
Rick Grahjam
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Gabriel Bakker
Sent: Tuesday, September 02, 2008 1:13 PM
To: Business Rules Forum
Subject: Re: [BR_forum] CONFIG STYLE
Right, but then I have to keep typing the underscore, which is
annoying and also makes the Variable Names look funny.
Surely it couldn't be too hard to just make BR ignore the case of my
variables...
Gabriel
On Sun, Aug 31, 2008 at 7:59 PM, Rickie Graham <rdgcss@attglobal.net> wrote:
theIf you code Reset_Global_Cache_Values using the style options I listed,
mycaps 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>:howeverstyle keywords lower
style labels upper
style expressions mixed
The Visual Studio editor automatically changes variables & labels totopicyou 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 afor 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
8/28/2008source 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:
______________________________________________________________________________________________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
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/1647 - Release Date: 9/2/2008
6:02 AM
_______________________________________________
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)
[BR_forum] CONFIG STYLE
We like to name our fields "TABLE_Field_Name"
These variable "Approximate" their SQL Equivilants "TABLE.Field_Name".
Luis
-----Original Message-----
From: br_forum-bounces@maillist.ads.net [mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Rickie Graham
Sent: Tuesday, September 02, 2008 2:32 PM
To: 'Business Rules Forum'
Subject: RE: [BR_forum] CONFIG STYLE
Like everything else, "beauty is in the eye of the beholder"
Being a Cobol programmer for some 35+ years, variable names in Cobol are
often coded as Customer-Name, so Customer_Name looks great to me.
Rick Grahjam
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Gabriel Bakker
Sent: Tuesday, September 02, 2008 1:13 PM
To: Business Rules Forum
Subject: Re: [BR_forum] CONFIG STYLE
Right, but then I have to keep typing the underscore, which is
annoying and also makes the Variable Names look funny.
Surely it couldn't be too hard to just make BR ignore the case of my
variables...
Gabriel
On Sun, Aug 31, 2008 at 7:59 PM, Rickie Graham <rdgcss@attglobal.net> wrote:
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/1647 - Release Date: 9/2/2008
6:02 AM
_______________________________________________
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
Post generated using Mail2Forum (http://www.mail2forum.com)
These variable "Approximate" their SQL Equivilants "TABLE.Field_Name".
Luis
-----Original Message-----
From: br_forum-bounces@maillist.ads.net [mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Rickie Graham
Sent: Tuesday, September 02, 2008 2:32 PM
To: 'Business Rules Forum'
Subject: RE: [BR_forum] CONFIG STYLE
Like everything else, "beauty is in the eye of the beholder"
Being a Cobol programmer for some 35+ years, variable names in Cobol are
often coded as Customer-Name, so Customer_Name looks great to me.
Rick Grahjam
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Gabriel Bakker
Sent: Tuesday, September 02, 2008 1:13 PM
To: Business Rules Forum
Subject: Re: [BR_forum] CONFIG STYLE
Right, but then I have to keep typing the underscore, which is
annoying and also makes the Variable Names look funny.
Surely it couldn't be too hard to just make BR ignore the case of my
variables...
Gabriel
On Sun, Aug 31, 2008 at 7:59 PM, Rickie Graham <rdgcss@attglobal.net> wrote:
theIf you code Reset_Global_Cache_Values using the style options I listed,
mycaps 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>:howeverstyle keywords lower
style labels upper
style expressions mixed
The Visual Studio editor automatically changes variables & labels totopicyou 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 afor 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
8/28/2008source 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:
______________________________________________________________________________________________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
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/1647 - Release Date: 9/2/2008
6:02 AM
_______________________________________________
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
Post generated using Mail2Forum (http://www.mail2forum.com)
[BR_forum] CONFIG STYLE
but even our variables don't always use _s before words that should be capped... for example our very common Master_FileNo should have a capital N, because it's the start of a new word. I believed this type of capitalization is called Camel Case.
-john
On Tue, Sep 2, 2008 at 3:30 PM, Luis I. Gomez <GomezL@collectionsoftware.com (GomezL@collectionsoftware.com)> wrote:
-john
On Tue, Sep 2, 2008 at 3:30 PM, Luis I. Gomez <GomezL@collectionsoftware.com (GomezL@collectionsoftware.com)> wrote:
Post generated using Mail2Forum (http://www.mail2forum.com)We like to name our fields "TABLE_Field_Name"
These variable "Approximate" their SQL Equivilants "TABLE.Field_Name".
Luis
-----Original Message-----
From: br_forum-bounces@maillist.ads.net (br_forum-bounces@maillist.ads.net) [mailto:br_forum-bounces@maillist.ads.net (br_forum-bounces@maillist.ads.net)] On Behalf Of Rickie Graham
Sent: Tuesday, September 02, 2008 2:32 PM
To: 'Business Rules Forum'
Subject: RE: [BR_forum] CONFIG STYLE
Like everything else, "beauty is in the eye of the beholder"
Being a Cobol programmer for some 35+ years, variable names in Cobol are
often coded as Customer-Name, so Customer_Name looks great to me.
Rick Grahjam
-----Original Message-----
From: br_forum-bounces@maillist.ads.net (br_forum-bounces@maillist.ads.net)
[mailto:br_forum-bounces@maillist.ads.net (br_forum-bounces@maillist.ads.net)] On Behalf Of Gabriel Bakker
Sent: Tuesday, September 02, 2008 1:13 PM
To: Business Rules Forum
Subject: Re: [BR_forum] CONFIG STYLE
Right, but then I have to keep typing the underscore, which is
annoying and also makes the Variable Names look funny.
Surely it couldn't be too hard to just make BR ignore the case of my
variables...
Gabriel
On Sun, Aug 31, 2008 at 7:59 PM, Rickie Graham <rdgcss@attglobal.net (rdgcss@attglobal.net)> wrote:theIf you code Reset_Global_Cache_Values using the style options I listed,mycaps are preserved.
Rick Graham
-----Original Message-----
From: br_forum-bounces@maillist.ads.net (br_forum-bounces@maillist.ads.net)
[mailto:br_forum-bounces@maillist.ads.net (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 (rdgcss@attglobal.net)>:howeverstyle keywords lower
style labels upper
style expressions mixed
The Visual Studio editor automatically changes variables & labels totopicyou 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 afor an extended discussion.
Rick Graham
________________________________
From: br_forum-bounces@maillist.ads.net (br_forum-bounces@maillist.ads.net)
[mailto:br_forum-bounces@maillist.ads.net (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 format8/28/2008source 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:______________________________________________________________________________________________6:58 PM
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net (BR_forum@maillist.ads.net)
http://maillist.ads.net/mailman/listinfo/br_forum
BR_forum mailing list
BR_forum@maillist.ads.net (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 (BR_forum@maillist.ads.net)
http://maillist.ads.net/mailman/listinfo/br_forum
BR_forum mailing list
BR_forum@maillist.ads.net (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/1647 - Release Date: 9/2/2008
6:02 AM
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net (BR_forum@maillist.ads.net)
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net (BR_forum@maillist.ads.net)
http://maillist.ads.net/mailman/listinfo/br_forum