Re: [U2] BASIC code - upper, lower, CamelCase, what say you?

Allen Elwood RR <[email protected]>
Newsgroups gmane.comp.db.u2.general
Message-ID <[email protected]>
me?  BIG LETTERS ALL THE TIME AND NO I'M NOT SHOUTING

as far as code goes.  the rest of the time i don't use caps at all.

crps in middle right knuckle, can't use right hand to type at all, caps 
are a pita with only one hand


On 12/20/2013 6:21 PM, Bill Haskett wrote:
> Charles:
>
> I've always used the following:
>
>      http://www.pickwiki.com/cgi-bin/wiki.pl?BFind
>
> ...to search everything on U2, including Windows directories. 
> Considering Windows search capabilities really suck, this is very 
> handy for our web stuff, programs, accounts, dictionaries, etc.  I did 
> this so many years ago the newer version may or may not have some 
> enhancements or fixes.  This way I couldn't care less about case.
>
> Now-a-days all of my UniData STATEMENTS are upper case while 
> everything else is designed to be readable by anyone who speaks and 
> writes human languages (in my case English).
>
> Bill
>
> ------------------------------------------------------------------------
> ----- Original Message -----
> *From:* [email protected]
> *To:* U2 Users List <[email protected]>
> *Date:* 12/20/2013 1:07 PM
> *Subject:* Re: [U2] BASIC code - upper, lower, CamelCase, what say you?
>> If you use mixed case, what search tools & comparitors do you use 
>> when researching your program libraries?
>> Particularly if you have programs written in different styles over 
>> the years.
>> What formatting tools do you use?
>>
>>
>>
>>
>> On 12/20/2013 10:01 PM, Bobby Worley wrote:
>>> First off - Merry Christmas and Happy New Year to all.
>>>
>>> I'm starting to write a lot of new BASIC (Universe 11.1) subroutines 
>>> for
>>> our DesignBais application, and since I'll be starting with a blank 
>>> code
>>> template instead of modifying existing code, and I thought 'hey why not
>>> join the 21st century' and make the code look more mainstream, and
>>> readable.  (falling back on our last TEXMUG presentation by Clif 
>>> Oliver on
>>> refactoring).
>>>
>>> And considering Universe 11.2 now supports local subroutines and 
>>> functions,
>>> I should make the code look and behave more object-like.
>>>
>>> Does anyone know of a set of rules or guidelines on how to do 
>>> this?    Just
>>> experimenting briefly, Universe BASIC compiler will allow any mix of 
>>> cases
>>> for keywords, but variables are case sensitive.  Example:
>>>
>>>> ED BP TEST
>>> ABC=1
>>> Abc=2
>>> abc=3
>>> PRINT ABC
>>> Print Abc
>>> pRiNt abc
>>> stop
>>> end
>>>
>>>> RUN TEST
>>> 1
>>> 2
>>> 3
>>>
>>> So, how are developers mixed case in their code these day? Do keywords,
>>> local variables, common variable, equates follow a standard method?
>>>
>>> thanks in advance,
>>
>> _______________________________________________
>> U2-Users mailing list
>> [email protected]
>> http://listserver.u2ug.org/mailman/listinfo/u2-users
>
> _______________________________________________
> U2-Users mailing list
> [email protected]
> http://listserver.u2ug.org/mailman/listinfo/u2-users
>

_______________________________________________
U2-Users mailing list
[email protected]
http://listserver.u2ug.org/mailman/listinfo/u2-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.