[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: TABs in SQR?



visualsqribe 5.0 has a tab-to-space converter in the preference section.
You should check your preference on whatever version you have to see if
it can do the same. I have always used tabs and have never had a problem.
One company said not to use tabs because not all editors have the same
tab spaces and would make the code look unorganized....(yet they also
had a policy to only use the sqr editor--whatever).

Clara

At 01:50 PM 8/16/99 -0400, you wrote:
>Hi Sharon.
>        My company has a policy of NOT letting any tabs in our source code.
>I'm not sure if TABS cause problems in SQR or whether this is just a
>holdover from experience with other languages.  Anyway what I wanted to
>mention is that if you're company does have a NO TAB rule you might want to
>use Ultraedit to code your SQR (as I highly recommend) it has a feature that
>replaces all tabs with spaces and another feature that makes the TAB key
>translate into user defined number of spaces.  Or if you're working on UNIX
>you can run this perl one liner to get rid of tabs:
>
>        perl -pe -i.bak 's/\t/     /g'  sourcecodefile
>
>where /     / has the number of spaces you want to translate tabs to.  This
>script will make changes in <sourcecodefile> and save the original in
><sourcecodefile>.bak.
>
>John Milardovic
>
>> -----Original Message-----
>> From: Sharon Bennett [SMTP:sbennett@SOFTWAREARCH.COM]
>> Sent: Monday, August 16, 1999 1:21 PM
>> To:   Multiple recipients of list SQR-USERS
>> Subject:      TABs in SQR?
>>
>> A fellow consultant who has been coding SQR for several years recently
>> told
>> me to make sure I have no TABs in my programs. Now I think to this point I
>> may only have had a couple in the comments in my programs; however, my
>> question is 'Why is this important?' I can not find a reference to TABs in
>> the SQR3 User Guide nor in the book SQR in PeopleSoft and Other
>> Applications. Granted I have not read either of the books cover to cover.
>> Another consultant here says he has never heard that TABs cause problems
>> before now. I have been writing SQR now for 6 months, and was a Visual
>> Basic
>> programmer prior to this, so this seems really odd to me.